Skip to main content
After you embed the KonnectBot widget on your site, you can open it from any button, link, or custom script. Commands called before the widget finishes loading are queued automatically and run as soon as it is ready.

HTML click attributes

Add a data attribute to any element — no custom JavaScript required:

JavaScript API

Use KonnectBot (or the alias KonnectBotWidget) from any script or onclick handler:

Events

Subscribe to widget lifecycle events:

Modern widget: Start Conversation

On the modern widget layout, visitors land on a home screen first. Clicking Start Conversation opens the chat and starts the configured mode:
  • AI — shows the AI welcome message (or contact form if enabled), then AI replies
  • Flow — starts the welcome automation flow
  • Welcome — shows the standard welcome message for human chat
Configure startup mode per brand under Chat Widgets → Behavior / AI.

Where to find examples in the dashboard

Open your brand at Company → Chat Widgets → [Brand] → Embed. The Embed tab includes copy-paste examples for HTML attributes and the JavaScript API.
Install the widget with your brand embed key from Chat Widgets → Embed, then add data-konnectbot-open to any CTA on your site (“Talk to sales”, “Get help”, etc.).