Skip to content
watsi

More channels

Web widget — your AI agent's chat on your website

Add a chat bubble answered by your watsi AI agent to your website. How to create the widget, customize it, restrict it to your domain and install it.

The web widget puts a chat bubble answered by your watsi AI agent on your website. You create it under Integrations → Web Widget, pick colors, title and position, authorize your domain and paste a snippet before your site's </body> tag. Conversations land in the same inbox as WhatsApp, and the agent replies with its Web channel setup.

The web widget doesn't show up in Integrations for real-estate accounts.

Create your widget

  1. 1

    Open Web Widget

    In Integrations, on the Web Widget card ("Chat on your website"), click Configure.

  2. 2

    Name it

    Type the Widget name (for example, "Main site chat") and click Create Widget.

  3. 3

    Customize the appearance

    Under Appearance choose Color, Title, Subtitle, Position (Left or Right), Style (Soft or Soft + Glass), Theme (Automatic, Light or Dark) and whether you want a Sound when sending and receiving messages. The Preview updates instantly and you can Simulate conversation.

  4. 4

    Authorize your domain

    Under Where it can appear, add your site's domain (for example, yourdomain.com). The www. version is included automatically.

Without an authorized domain, anyone could use your widget on another site. Always add your site's domain.

Install it on your site

  1. 1

    Copy your code

    Under Code for your site, click Copy.

  2. 2

    Paste it on your site

    Paste it right before </body> on your site (in your template, in Wix, WordPress or whatever builder you use).

  3. 3

    Check that it loaded

    The bubble shows up in the corner you chose. In watsi, the widget goes from Awaiting installation to Connected, and you'll see Detected live on your site as soon as it loads for the first time.

Turn on the Web channel agent

If the widget shows No active agent, the agent isn't replying on your site yet. Click Activate in the Playground and turn the agent on for the Web channel.