Skip to content

Install the widget on any website

Add the DICE chat widget to any website. It takes about five minutes. Copy your snippet from the portal: Setup checklist → Install the chat widget.

HTML
<script src="https://diceautomation.com/widget/v1/loader.js" data-business-id="YOUR-BUSINESS-CODE" async></script>

Replace YOUR-BUSINESS-CODE with the code shown in your portal (it looks like DICE-7KQ2-001).

Steps

  1. Copy your snippet

    In the portal, open Setup checklist → Install the chat widget and copy the snippet.

  2. Paste it on every page

    Put it right before the closing </body> tag, usually in a shared footer or layout template.

  3. Publish

    Deploy or publish your site, then open it: the chat button appears in the corner.

Check that it works

Open your site in a private window. The chat button appears in the bottom corner. The setup checklist marks the step done when the widget first loads on your domain.

The widget does not appear

  • The widget runs only on your website’s domain and the domains listed under Agent settings → Widget → Allowed domains.
  • Clear any cache or performance plugin and reload.
  • A strict Content-Security-Policy on your site must allow scripts and connections to diceautomation.com.