Skip to content

Configure and install a Web Widget

Enter one host per line under Allowed Domains, without a protocol or path. For example:

example.com
www.example.com

The widget refuses to load on a host that is not listed. This prevents copied embed code from being used on an unauthorized site.

Configure the widget title, welcome message, input placeholder, greeting popover, greeting delay, reply sound, supported-device vibration, primary color, and branding options available to the workspace.

The title falls back to the assistant name when left empty. Other empty text fields use the widget’s built-in localized copy.

Create an override for a locale and fill only the fields that differ from the default. Doublewire first looks for an exact locale, then the primary language, then the channel defaults and built-in localized copy.

Language selection changes widget controls and configured overrides. It does not automatically translate your assistant prompt, forms, suggestions, or other workspace-authored text.

When channel branding controls are available, choose workspace branding, Doublewire branding, custom branding, or no attribution. A custom mode requires a brand name and can include a brand URL.

Copy the production embed code from the channel and place it on the website. The essential form is:

<script
src="https://widget.doublewire.ai/embed.js"
data-channel-id="CHANNEL_ID">
</script>

Use optional attributes only when the website needs to change a value while loading the widget. On a single-page website, keep the current reference ID updated after navigation.