Widgets
Reference

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

FieldWhat it does
NameInternal label only — not shown to visitors. Use it to find the widget in your dashboard.
Voice agentVoice identity — TTS, STT, LLM, persona, endpointing. Set up in the Voice Agents section.
Conversation flowConversation logic — nodes, intents, slots. Designed in the Conversation Flows section; see Core concepts.

Branding

FieldWhat it does
Agent display nameShown in the widget header and in the launcher (Talk to <name>). Leave blank for the generic “Voice Assistant” label.
Accent colorLauncher, mic-level ring, primary actions.
Widget backgroundThe panel background the conversation sits on.
Text colorBody and bubble text. Pair dark text with a light background (and vice versa) for readable contrast.
Agent bubble colorThe agent’s bubble background. Leave blank to use a soft tint of the accent color.
Visitor bubble colorThe visitor’s bubble background.
Logo URLOptional. Shown top-left of the widget header.
Agent avatar URLOptional. A square image rendered as a circular avatar. Leave blank to show the mic icon on the accent color.
Show visitor transcriptOff 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

FieldWhat it does
Allowed domainsOne 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 limitMaximum 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.