Website Channel
The website channel adds a floating chat widget to your site. Visitors click the bubble, a conversation opens, and your AI employee responds — 24/7, no backend work required on your end.
Embed the widget
After configuring your employee and opening the Deploy tab:
- Under Website, choose a widget placement (bottom right is the most common)
- Set the accent color to match your brand
- Click Save widget settings
- Expand Advanced settings and copy the script tag
<script
src="https://widget.optimly.io/widget.js"
data-agent-id="YOUR_AGENT_ID"
async
></script>
Paste it before </body> on every page where you want the chat to appear. Publish and you're live.
Restrict to specific domains
By default the widget loads on any domain. To lock it to your site:
- Open your employee's Configure → Behavior section (or Settings)
- Find Allowed origins
- Enter your domain:
https://www.yoursite.com
The widget will silently fail to load on any other domain.
Manual Mode
You can take over any website conversation from the Conversations page. Toggle the Manual/AI switch on any open chat — your employee steps back, your team takes the keyboard.
See Manual conversation control for the full flow.
Troubleshooting
| Problem | Fix |
|---|---|
| Widget doesn't appear | Confirm the script is before </body> and the domain is allowed |
| Widget loads but employee gives wrong answers | Update the Knowledge section in Configure |
| Widget appears on wrong pages | Conditionally load the script only on pages where you want it |
| Accent color not updating | Save widget settings, then hard-refresh the browser cache |
Related: Channels overview · Configure your employee · Manual Mode