Add the AI Chat to Your Website

Updated

This guide describes the steps required to add the AI chat to your website.

1. Install the script on your website

Go to Account Settings → Widget → “Code to copy.”

Copy the script and insert it into your website — usually right before the closing <body> tag on the pages where the AI chat should appear.

💡 This is the code that initializes the AI chat on the page.

2. If you also use Live Chat

If you use Live Chat together with the AI chat:

Include both the AI chat and Live Chat scripts.

The AI chat automatically detects the Live Chat script and activates the handover — but only when Live Chat is staffed.

👉 Read more: How the AI chat works together with Live Chat
👉 Link: Example of AI chat with Live Chat

3. Handling cookie banners

If your website uses a cookie banner:

Hide the widget until the visitor has accepted cookies.

This can be done using the onLoad and isHidden functions in the script.

👉 Read more: How to hide the AI chat until cookies are accepted

warning Created with Sketch.