Skip to content
All integrations
JS
Developers

CustomerChat.ai for JavaScript

One line of code for any custom website or web app.

How to install

  1. 1Copy your snippet from Install.
  2. 2Paste it before </body> on every page.
  3. 3Use window.CustomerChat.open() to open the chat from your own buttons.

Your personal snippet, with your bot ID filled in, is on the Install page of your dashboard.

HTMLWordPressShopifyCopy
1<!-- CustomerChat.ai -->
2<script src="https://customerchat.ai/widget.js"
3data-bot="your-business-7f3k" defer></script>
Installation detected on yourbusiness.com · 2 minutes ago

Give your customers answers in seconds.

Set up your AI support agent in minutes. Your first month is free.