Skip to content

Install on a plain HTML site

Paste one line into your pages.

This works for any hand-built site, static site generator or CMS template.

Before you start

Open Setup checklist → Install the chat widget and copy your snippet. It is one line and looks like this, with your own address and code:

<script src="https://YOUR-DICE-HOST/widget/v1/loader.js" data-business-id="YOUR-CODE" async></script>

Steps

  1. Open your page template, or every HTML file if you have no template.
  2. Paste your snippet on its own line directly above the closing </body> tag.
  3. Upload or deploy the files. A page with no </body> tag needs the snippet at the end of the file.

Check that it works

Open your public site in a private window. The chat button appears in the corner within a few seconds. If it does not, see Install the chat widget and check Agent settings → Widget → Allowed domains: your site's domain must be on the list.

Was this article helpful?

Updated November 10, 2026. Still stuck? Contact support.