Skip to main content

Quick embed

Create a Web channel in your agent’s Channels page, then copy the generated snippet into your site before </body>.
The widget loads asynchronously. The token is designed for browser use, but it is not an owner API key.

Customize the experience

Brand example

Inline mode

Use inline mode when chat belongs inside a docs page, help center, or product settings screen rather than floating over the site.

Sessions and observability

The widget creates an opaque session ID in browser storage. It sends that ID with each message so a visitor can continue their own conversation without mixing it with another visitor’s history. It also sends the current page URL and title as runtime metadata. Open your agent’s Observability page after testing. Each widget run is recorded as a Web channel event, with session context, latency, final response, tool activity, memory events, and errors where they exist.
Restrict the Web channel to your allowed website origins before launch. Never put an owner API key, account identity, email address, or private application data into the public script tag.

Test before launch

  1. Open the page in a private browser window.
  2. Test a known answer, an unknown answer, a follow-up, and a request that needs a tool.
  3. Check mobile layout and both light and dark site contexts.
  4. Open the matching trace in Bothive Observability.

Next reads

Deploy to Channels

Telegram Bots

Observability