Docs menuWidgets
Widgets
Put a voice agent on your website. One script tag, your branding, and an allow-list of the domains that may load it.
A widget binds a voice agent and a conversation flow to an embed snippet. Visitors talk to the agent in their browser — no phone call — and you control how the widget looks and which domains may load it.
Widgets are created and managed in the dashboard under Widgets. The editor has four tabs: Setup, Branding, Security and Embed.
Setup
| Field | What it does |
|---|---|
| Name | Internal label only — not shown to visitors. Use it to find the widget in your dashboard. |
| Voice agent | Voice identity — TTS, STT, LLM, persona, endpointing. Set up in the Voice Agents section. |
| Conversation flow | Conversation logic — nodes, intents, slots. Designed in the Conversation Flows section; see Core concepts. |
Branding
| Field | What it does |
|---|---|
| Agent display name | Shown in the widget header and in the launcher (Talk to <name>). Leave blank for the generic “Voice Assistant” label. |
| Accent color | Launcher, mic-level ring, primary actions. |
| Widget background | The panel background the conversation sits on. |
| Text color | Body and bubble text. Pair dark text with a light background (and vice versa) for readable contrast. |
| Agent bubble color | The agent’s bubble background. Leave blank to use a soft tint of the accent color. |
| Visitor bubble color | The visitor’s bubble background. |
| Logo URL | Optional. Shown top-left of the widget header. |
| Agent avatar URL | Optional. A square image rendered as a circular avatar. Leave blank to show the mic icon on the accent color. |
| Show visitor transcript | Off by default. Speech-to-text mistakes can show the visitor the wrong words, so enable it once your flow and STT model are mature. The agent’s side always renders. |
Security
| Field | What it does |
|---|---|
| Allowed domains | One domain per line. Wildcards are supported — *.example.com matches any subdomain. The widget only accepts connections from these origins. An empty list means the widget is effectively offline on the public web; the dashboard’s Test button and preview still work. |
| Concurrency limit | Maximum simultaneous conversations through this widget. Protects against bots, scrapers and traffic spikes. Default 5. |
| Idle timeout (ms) | How long to wait in silence before closing the conversation. Blank inherits the system default. Range 1000–120000 ms. |
Embed
The Embed tab gives you the snippet for the widget. Paste it into the <body> of any page on a domain you’ve allowed under Security:
<script
src="https://app.voice.octew.com/widget/embed.js"
data-key="vw_live_..."
async></script>
data-key is the widget’s public key (vw_live_ followed by 32 hex characters). A floating microphone button appears bottom-right; clicking it opens the widget in a panel near it.
Page-context variables
To pass page context to the flow — a property ID, a plan, a page name — add a data-vars attribute with JSON:
<script
src="https://app.voice.octew.com/widget/embed.js"
data-key="vw_live_..."
data-vars='{"property_id":"midori-42a"}'
async></script>
The flow references them like any other call variable, e.g. {{variables.property_id}} in templates.