Documentation / Set-up guides / Channels
Website Chat
On this page
On this page
This guide is for
A chat window on your own website. A visitor writes in their own language, and the conversation arrives in Inbox as a website chat.
What it needs
- The Website Chat module switched on in Admin → Apps. It needs CRM and Mail, and a connected mailbox.
- For each website: its exact HTTPS address, with no wildcard and no path; the address of your privacy policy; and the brand name the window shows. One installation takes up to ten addresses.
Installing it
- Open Admin → Apps → Website Chat → Settings. It opens the installation guide for this workspace: how an installation is registered and switched on. A new installation starts disabled, and AI replies are switched on for each installation and use the workspace's credits.
- Put the line below on every page that should show the chat, with your desk's address in place of YOUR-DESK and the installation's ID in place of INSTALLATION-ID.
<script defer src="https://YOUR-DESK/chat/widget.js" data-site="INSTALLATION-ID"></script>- The installation's ID is a public identifier, not a password: it is safe in the page's source.
- If your website sends a Content-Security-Policy, allow the desk's address in script-src and connect-src.
- A reply written in Inbox to a visitor who left an email address goes to that address by email. It does not appear in the chat window.
A chat window on your own website. A visitor writes in their own language, and the conversation arrives in Inbox as a website chat.
What it needs
- The Website Chat module switched on in Admin → Apps. It needs CRM and Mail, and a connected mailbox.
- For each website: its exact HTTPS address, with no wildcard and no path; the address of your privacy policy; and the brand name the window shows. One installation takes up to ten addresses.
Installing it
- Have the installation registered. There is no screen for this yet: a developer registers it through the desk's admin API at /api/plugins/website-chat/sites, with the brand, the website's addresses, the privacy policy's address and the languages offered. The answer carries the installation's ID.
- Put the line below on every page that should show the chat, with your desk's address in place of YOUR-DESK and the installation's ID in place of INSTALLATION-ID.
<script defer src="https://YOUR-DESK/chat/widget.js" data-site="INSTALLATION-ID"></script>- The installation's ID is a public identifier, not a password: it is safe in the page's source.
- If your website sends a Content-Security-Policy, allow the desk's address in script-src and connect-src.
- A reply written in Inbox to a visitor who left an email address goes to that address by email. It does not appear in the chat window.
