Skip to main content

Private Bot

Connect to a private bot provider that requires an API key. The SDK handles the unauthenticated → needApiKeyauthenticated state transitions for you.

Private Bot Authentication

This demo connects to a private bot provider that requires an API key. The chatbot will automatically prompt for the key if the SDK detects an unauthenticated state.

Authentication Flow

  • API Key required for access
  • Auth state management
  • Error handling for unauthorized access
Loading chatbot...