Enable WebChat on your page
Publish the WebChat channel and paste the embed code before </body> on the page where the chat should appear. Two steps: publish the channel, then embed the code. Any workspace member can do this — no specific role is required.
Before you start
- WebChat is in gradual rollout. If you cannot see the WebChat area under Create, your account has not received the feature yet.
- You need to be able to edit the target page's HTML (to paste code before
</body>).
Steps
-
Open Create → WebChat and create a new channel. Pick a template and confirm.
-
In the channel editor, adjust the bot flow (Editor tab) and the appearance (Design tab).
-
Click Publish. This saves the channel as active — the link and the widget only work once the channel is published.
-
Open the sharing tab and copy the embed code. The snippet looks like this:
Always copy the real code from the tab — the channel id and the address come already filled in.
-
Paste the code before
</body>on the pages where the chat should appear. -
(Optional) In the allowed domains (CORS) field, enter one origin per line (for example
https://mysite.com). Left empty, any site can embed it.
Would rather not embed it on a site? Use the full-screen public link, on the same sharing tab — it opens the chat full screen and also requires the channel to be published.
The widget is mounted by the Clickmax Browser SDK. For the attributes the <div data-cx-livechat> accepts, see the Browser SDK reference (Portuguese).
Related
- WebChat — the chat channel in overview.
- Attendant assignment — who picks up the conversation.
- Create
If it didn't work
- The widget does not appear: confirm the channel is published and that the page's domain is in the allowed domains (CORS) list — or leave that list empty.
- You cannot see the WebChat area: the feature has not been released to your account yet — see no permission.
- The chat loads but errors when sending a message: see the error codes (Portuguese).