Overview
The website widget is a floating chat bubble that visitors click to start a conversation with your AI agent. It runs entirely in the browser — no server-side setup needed on your website.Configure the widget
Go to your agent’s Settings → Widget page to configure:Embed the widget
Floating widget (recommended)
Copy and paste this script tag before the closing</body> tag on your website:
YOUR_AGENT_ID with your agent’s ID from the widget settings page. The widget appears as a floating button in the bottom-right corner.
Direct iframe
For more control over placement, embed the chat directly in an iframe:How the chat works
- Session creation — When a visitor opens the chat, a session is created with a unique visitor token stored in
localStorage - Message exchange — The visitor sends a message, and the AI responds based on your prompt script
- Appointment booking — If the agent has a calendar integration, it can check availability and book appointments
- Session continuity — Returning visitors resume their previous conversation
Rate limits
To prevent abuse, the widget enforces these limits:
When rate limits are hit, the widget shows a “sending too quickly” message. If the AI takes too long to respond (over 30 seconds), a timeout fallback message is displayed.