> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vatel.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Widget

> Embed the agent on a site for voice, chat, or both

The Widget tab embeds this agent on a website or a web app. A visitor can talk to it by voice, by text, or both. The free plan cannot use the widget. [Start and end flows](https://docs.vatel.ai/configure/start-end-flows) do not run for widget chat. A chat can stay open for weeks, so there is no hangup to run them on.

Open the agent, then Widget. The page is a preview on one side and the settings on the other. The preview is the widget open, closed, and restyled as you change the controls.

![Widget tab preview with the open panel, voice orb, and color swatches](https://mintcdn.com/devpro-38b0cd42/hdbCFLBnzC5gA6Ir/images/configure/widget-preview.jpg?fit=max\&auto=format\&n=hdbCFLBnzC5gA6Ir\&q=85\&s=b144e93c1978b2f04507281452184421)

Widget preview. Open panel, voice orb, floating launcher, and brand swatches.

## Embed

| Setting | What it controls |
| - | - |
| Embed snippets | The script you paste into the site. The card says you can auto-append it, or place a `<vatel-widget>` tag and load the script with `autoMount=false`. |
| Embed allowlist | Optional hosts. Leave it empty to allow embedding everywhere. The row says **Any site** until you add hosts. |

![Widget embed snippets, allowlist, and interface settings](https://mintcdn.com/devpro-38b0cd42/hdbCFLBnzC5gA6Ir/images/configure/widget-embed.jpg?fit=max\&auto=format\&n=hdbCFLBnzC5gA6Ir\&q=85\&s=0c6285f84860452685e598c784981ee2)

Embed snippets and the allowlist. Allowed hosts is Any site. Interface is Chat and voice, orb style Smoke.

## Interface

The mode field is labeled **Chat and voice**. The choices are **Chat and voice**, **Chat only**, and **Voice only**. The helper says voice only omits the chat session scope on the server.

| Setting | What the form shows |
| - | - |
| Orb style | Smoke, Wave, or Space. Visual style of the voice orb in the widget and launcher. |
| Widget language | English (en) or Français (fr). This is the built-in copy: buttons, voice states, and errors. Custom launcher text and terms stay as you write them. |
| First message | The greeting in the box. The sample text is "Hello! How can I help you today?". Leave it empty to start with a blank chat. It is not shown when resuming an existing conversation. |
| Collect voice call feedback | After each voice call, users can rate their experience and leave an optional comment. The rating and the comment appear in the widget at the end of the call. |

![Widget interface settings with language and first message](https://mintcdn.com/devpro-38b0cd42/hdbCFLBnzC5gA6Ir/images/configure/widget-interface.jpg?fit=max\&auto=format\&n=hdbCFLBnzC5gA6Ir\&q=85\&s=c6ddef5bd239a8d7583496a73c30d3e1)

Interface settings. Chat and voice, Smoke orb, English, and the first message.

## Launcher

The launcher is the widget while it is closed.

**Launcher layout** has three choices. Minimal is a single round button. Expanded shows a short headline and call-to-action. Responsive uses the expanded card on larger screens and the minimal button on mobile. The card on the tab shows the current choice. Expanded and Responsive also show an **Expanded CTA accent** color.

`#000000` is transparent in the embed.

![Launcher, appearance, and terms cards on the Widget tab](https://mintcdn.com/devpro-38b0cd42/hdbCFLBnzC5gA6Ir/images/configure/widget-appearance.jpg?fit=max\&auto=format\&n=hdbCFLBnzC5gA6Ir\&q=85\&s=ae6f4b7221f17b35077ba83cb2b0938a)

Launcher settings is Minimal, brand colors are the default theme, and terms sits below them.

## Appearance

**Brand colors** opens the appearance drawer. Empty colors keep the default theme. `#000000` is transparent for fills and accents.

| Color | Help text on the field |
| - | - |
| Primary | Buttons, accents, and active tab. |
| Hover | Hover state for buttons. |
| Launcher fill | On the launcher drawer, not the brand drawer. |
| Launcher hover | On the launcher drawer. |

## Terms and conditions

**Terms and conditions** is an optional consent step when opening the agent from the floating launcher. Turn it on in **Terms settings** when the visitor has to accept before starting a conversation.

With terms on, a visitor can open the widget before accepting. They cannot start a voice call, or send an SMS, until they accept.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.