Connect the Web Widget

Written by:Amr Mohamed

Share Article

The Web Widget lets customers interact with your AI Agent using a live chat experience embedded on your website.

This is useful for:

  • customer support

  • ecommerce assistance

  • lead generation

  • onboarding

  • product questions

Open the Web Widget installation page

To install the widget:

  1. Open your AI Agent workspace

  2. Go to the Playground

  3. Open the Test & Deploy step

  4. Stay on the Website Visitor tab

Inside this section, Mando AI provides your installation script.

Copy the installation script

Inside the installation section:

  1. Click Copy

  2. Copy the generated script

The script is unique to your workspace and AI Agent.

Add the script to your website

Paste the script before the closing </body> tag on your website.

Example locations include:

  • website templates

  • theme layouts

  • footer scripts

  • global site settings

After publishing your changes, the widget will appear on your website automatically.

Install using Google Tag Manager

Mando AI also supports installation through Google Tag Manager.

To do this:

  1. Open Google Tag Manager

  2. Create a new custom HTML tag

  3. Paste the widget script

  4. Publish your container changes

This is useful if you manage scripts centrally using GTM.

Test the widget

After installation:

  1. Open your website

  2. Verify the widget appears correctly

  3. Start a test conversation

  4. Review your AI Agent responses

You can continue testing and improving your AI experience from the Playground.

Customize the widget later

After installation, you can continue customizing:

  • colors

  • greeting messages

  • launcher position

  • branding

  • AI behavior

Widget settings can be updated later without reinstalling the script.

PRO TIP:
Test the widget on both desktop and mobile devices after installation to make sure the experience looks correct across all screen sizes.

Next steps

Did this answer your question?

More Support

Get more support from us