Create a widget
A widget always points at a specific assistant and a specific published version. You can create one from either place:- From the Widgets section
- From an agent Deploy section
- Open Widgets from the sidebar (
/widgets). - Click Create Widget.
- Pick an Agent. Agents with no published version are disabled and labeled (agent not published).
- Pick an Agent Version. Only published versions are listed.
- Click Create.
You need the
web_widgets:manage scope to create or edit a widget. web_widgets:read grants view-only access.Widget Builder
Opening a widget shows the Widget Builder: a configuration panel on the left and a live preview on the right. The panel has three tabs.| Tab | What it controls |
|---|---|
| General | Assistant assignment, name, privacy policy, allowed domains, branding, prompts, forms, and publish state |
| Theming | Colors, theme mode, and trigger appearance — see Appearance and branding |
| Deploy | The embed snippet for your platform — see Installing the snippet |
General
The General tab holds the widget’s core settings.| Field | Type | Default | Description |
|---|---|---|---|
| Assistant | Select | — | The agent this widget serves. |
| Assistant version | Select | — | A published version of that agent. Only published versions appear. |
| Name | Text | Assistant name | Display name shown in the chat header. Defaults to the selected assistant’s name when left empty. |
| Privacy Policy URL | URL | empty | Link shown at the bottom of the chat interface. |
| Allowed Domains | List | empty | Domains that may embed this widget. |
| Hide “Powered by Anyreach” | Toggle | off | Removes the Anyreach attribution from the widget. |
| Suggested Questions | List | empty | Up to 4 prompts shown above the chat button. |
| Pre-Conversation Form | Toggle | off | Collects user details before the conversation starts. |
| Post-Conversation Feedback | Toggle | off | Collects feedback at the end of a chat conversation (WebRTC only). |
| Enabled | Toggle | off | Whether the widget renders where it is embedded. |
Allowed domains
Whitelist the domains that are allowed to embed this widget. Leave the list empty to allow all domains — intended for development only. When the list is empty, the widget can be embedded on any site.Suggested questions
Add up to 4 pre-configured prompts that appear above the chat button to nudge visitors into starting a conversation. Use Add question to append one; the button disappears once you reach 4.Suggested questions are not visible on mobile.
Pre-conversation form
Turn on Pre-Conversation Form to show a form before the conversation begins. Enabling it seeds a default form with Name, Email, and an optional Phone Number field, which you can edit in the inline form editor. The Only show once per user toggle controls whether returning visitors see the form again; it is on by default.Post-conversation feedback
Turn on Post-Conversation Feedback to collect feedback when a chat ends. Enabling it seeds a default form with a 1–5 star Rating and an optional Comments field, plus an editable Thank-you message.Publishing
The Enabled toggle is the widget’s publish switch. When enabled, the widget renders wherever it is embedded; when disabled, it will not render even if the snippet is present. New widgets start disabled.Theming
The Theming tab covers auto-branding, theme mode, and the colors and trigger styling that control how the widget looks. See Appearance and branding for the full reference.Deploy
The Deploy tab generates the embed snippet. Pick your platform to get a copy-ready script tag and platform-specific install instructions. See Installing the snippet for the step-by-step.How the config is stored
Every General and Theming setting is written to the widget’s config under a versionedv1 key:
domains and published), not inside config.v1.
Next steps
Appearance and branding
Theme the widget with colors, modes, and trigger styling.
Installing the snippet
Get the embed snippet and add it to your site.

