Skip to content

Install

Install MivoChat on an HTML site

For a SaaS marketing site built from static HTML, add the MivoChat script once in the shared template.

Copy the exact script snippet from the MivoChat Install page and add it before the closing body tag on the pages where chat should appear. Allow the production origin and test a published page.

Prefer to let your AI coding agent do it? Copy the agent prompt.

Installation steps

  1. 1

    Prepare

    Copy the complete snippet for this HTML site's hostname from MivoChat's Install page.

  2. 2

    Configure

    Add the script once before </body> in the shared HTML template or chosen pages.

    <script src="https://mivochat.app/widget.js" data-site="YOUR_SITE_KEY" async></script>
  3. 3

    Publish

    Deploy the change and add the exact HTTPS origin to allowed websites in MivoChat.

  4. 4

    Verify

    Open a published page in a private browser window and test a visitor message and team reply.

Keep the install small

Use this exact loader and replace only YOUR_SITE_KEY with the site key shown on the Install page. Do not paste a real key into a public issue or commit it to a public repository. If you use a shared footer or layout, adding the loader there keeps it consistent across docs and marketing routes.

Use View Page Source on the deployed response and search for widget.js; a bundler can omit a partial that is not included in the production template. A successful script download confirms only that the loader arrived, so check for a separate CSP or origin refusal if the launcher still does not open. Purge the CDN after publishing, then retry in a clean browser profile to rule out cached HTML.

<script src="https://mivochat.app/widget.js" data-site="YOUR_SITE_KEY" async></script>

Verify the visitor path

Check the widget on the deployed site rather than a file preview. Send a question that appears in your docs, then ask something unsupported and confirm the team can take over in its connected channel.

Before you change the setup

Who this is for
a static SaaS site whose pages share a hand-maintained HTML shell
What you need
the deploy repository, the public site key from Install, and the canonical HTTPS hostname visitors use
Where it goes
the shared template immediately before the closing </body> tag
Watch out for
a local file:// preview has no allowed web origin, so validate after deployment on the real hostname

Test the support boundary

  • Where do I create an API key?
  • How do I rotate a webhook secret?
  • Which feature is included in a plan if the public docs do not say?

Frequently asked questions

The browser never requests `widget.js`

Open DevTools Network, filter for widget.js, and confirm your template output contains the loader once before </body>.

The page reports a content security policy refusal

Add https://mivochat.app to script-src, frame-src and connect-src, and allow inline styles with style-src 'unsafe-inline'. The Content Security Policy guide explains each directive.

The widget appears on only some static pages

Check which pages use the edited layout; older standalone HTML files may bypass the shared footer and need the same approved snippet.

The install status does not recognize the domain

In the site's Install settings, add the exact HTTPS origin, including www when it is part of the live hostname, then reload the page.

Keep exploring

The r3-final-a evaluation measured 95% answerability-tier accuracy on 224 questions; this is an evaluation result, not a guarantee. AI replies use Anthropic. See the method and results and subprocessors and data locations.

Try MivoChat on your support pages.

Start a 14-day trial, connect public pages, and test what gets answered or handed to your team. Check current paid billing status on pricing.