Skip to main content
Put a talking agent on your website that greets visitors, answers questions from your knowledge base, books meetings, captures leads, and hands off to a human when it matters. You build the agent once, pick a widget style, and paste a single script tag. That is all it takes to add AI voice chat to your website. This recipe covers the five widget styles, how to choose one, and how to install it on the platforms most teams use. For the full reference, see Widget variants and the install guide.

The five widget styles

Widget Studio ships five variants. Only one is active per workspace at a time, so you pick the experience that fits your page and everyone who visits sees the same thing.
Every variant is powered by the same agent you build in Studio. Switching styles never changes the agent’s instructions, knowledge, or tools. It only changes how the conversation appears on the page.

Pick the right variant

Match the style to the intent of the page, not the other way around.
  • High intent landing pages and pricing pages. Use the Pill (default). Voice first converts curiosity into a real conversation, and the text fallback catches visitors who cannot talk out loud.
  • Product tours, demos, or a hero built around talking. Use the Voice pill for a clean, one tap “press to speak” moment with nothing else on screen.
  • Support docs and help centres. Use the Chat bar or Side panel so visitors can keep reading while they type, and scroll back through history.
  • A full assistant experience. Use Ask Alex when you want a rich messenger that lets people switch between speaking and typing in the same thread.
Not sure? Start with the Pill. It is the most flexible because it offers both voice and text, and you can switch variants later without touching your site again.

Add the widget to your site

1

Build or pick your agent

In Studio, create the agent that will greet visitors. Add your knowledge (scan your website or paste details), choose a voice, and switch on the tools it should use, for example Check availability, Create booking, Create lead, or Transfer call. Run a test call from the composer before you ship.
2

Choose a widget style

Open Widget Studio and select one of the five variants above. Set the greeting, position, and brand colour so it matches your site.
3

Copy the script tag

Widget Studio generates one script tag scoped to your workspace and agent. Copy it. The exact tag is in your dashboard. It looks like this:
4

Paste it into your site

Add the tag once, just before the closing </body> tag on every page you want the widget to appear. See the platform notes below for the exact spot on your stack. Publish, reload the page, and the widget appears in the corner.

Platform notes

The tag is plain HTML, so it works anywhere you can add a script. Here is where it goes on the platforms teams ask about most. The install guide has copy and paste steps for each.
Add the tag to your root index.html (or the document <head> in a framework layout) so it loads once for the whole app. If you prefer to inject it in code, append the script on mount:
The widget persists across client side route changes, so a visitor mid conversation stays connected as they navigate. Load the script once, not per route.
Easiest path: paste the tag into a Custom HTML block on the pages you want, or use a header and footer scripts plugin and drop it in the footer so it loads site wide. If you edit your theme directly, add it to footer.php just before the closing body tag. No plugin is required.
Go to Online Store, Themes, Edit code, open theme.liquid, and paste the tag just before the closing </body> tag. It will then load on every storefront page. To limit it to specific pages, add it to a custom section or template instead.
On Wix, open Settings, Custom Code, add a new snippet, paste the tag, and set it to load on all pages in the body. On Squarespace, open Settings, Advanced, Code Injection and paste the tag into the Footer field.

What happens when a visitor talks to the widget

Voice conversations run on the SmartAlex voice engine: curated, high accuracy speech, language, and voice models, kept abstracted so you never manage a vendor. Every session is logged, so you can review transcripts and outcomes in call logs and analytics.

Good to know

  • One widget per workspace. Only one variant is live at a time. Change it in Widget Studio whenever you like; you do not need to edit your site again.
  • Usage draws from your wallet. Web conversations are billed from your prepaid wallet at a blended average of $0.05/min. See pricing for plan details and included minutes.
  • The agent uses the same brain everywhere. Knowledge, voice, and tools are shared with your phone and campaign agents. Update the knowledge base once and the widget stays current.
  • Connect your own systems. Book against your calendar, send a payment link, or reach into your own APIs. Custom HTTP Tools and the MCP server are the live way to wire the agent into your stack. A public REST API and TypeScript SDK are in private beta; contact support for early access.

Widget variants

Every style, setting, and behaviour in Widget Studio.

Install the widget

Copy and paste steps for WordPress, Shopify, Wix, Squarespace, and React.

Create your agent

Build, test, and voice the agent that powers your widget.

Agent tools

Let the widget book, quote, capture leads, and hand off to people.