For AI agents: the complete documentation index is available at https://docs.clickmax.io/en/llms.txt, the full documentation bundle is available at https://docs.clickmax.io/en/llms-full.txt, and this page is available as Markdown at https://docs.clickmax.io/en/features/create/webchat/enable-webchat.md.
  • English
  • 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

    1. Open Create → WebChat and create a new channel. Pick a template and confirm.

    2. In the channel editor, adjust the bot flow (Editor tab) and the appearance (Design tab).

    3. Click Publish. This saves the channel as active — the link and the widget only work once the channel is published.

    4. Open the sharing tab and copy the embed code. The snippet looks like this:

      <div data-cx-livechat="YOUR_CHANNEL_ID"></div>
      <script async src="https://YOUR_GATEWAY/sdk/livechat.js"></script>

      Always copy the real code from the tab — the channel id and the address come already filled in.

    5. Paste the code before </body> on the pages where the chat should appear.

    6. (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).

    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).