Skip to content

Install

Add AI chat to Ghost

Ghost's site-wide code injection can add an AI support launcher to a SaaS publication without editing each post.

In Ghost, open Settings → Code injection and put the MivoChat loader in Site footer. Save, allow your published hostname, and test a public page; check your Ghost version if the menu labels differ.

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

Installation steps

  1. 1

    Prepare

    Copy the loader and site key from MivoChat Install for the Ghost publication hostname.

  2. 2

    Configure

    Open Settings → Code injection and paste the whole script in Site footer, not inside a post's Markdown content.

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

    Publish

    Save the setting and publish or refresh the public site, then allow the exact production origin in MivoChat.

  4. 4

    Verify

    Check a public page and a post, then test a source-backed answer and a visitor-to-team reply.

Check the public theme

An admin preview may not match the public site. Open a logged-out page and inspect its source for widget.js; a theme that omits the standard footer can also omit injected code.

If the loader is present but the launcher is not, compare the live hostname with Allowed websites and check browser Console and Network for policy blocks. Verify a page containing pricing or help content before calling the install finished.

Ghost themes can be updated independently from the publication settings. After a theme change, reopen one public post and one landing page to ensure both still include the shared footer and that a cached copy has not hidden the updated code.

Before you change the setup

Who this is for
a Ghost publication owner who can edit site-wide code injection
What you need
Ghost settings access, the MivoChat site key, and a public publication hostname
Where it goes
Settings → Code injection → Site footer, where the theme publishes the shared footer
Watch out for
A custom theme that skips the normal footer may not render footer injection on its public pages

Test the support boundary

  • Does the published post contain the footer loader?
  • Can visitors ask about a public help page?
  • Does a Telegram teammate reply reach the widget?

Frequently asked questions

Code injection is not visible

Confirm the current Ghost version, hosting setup, and account role; use current Ghost guidance for the supported setting.

Posts work but a landing page does not

Inspect that page's theme and layout for the shared footer; a custom template may omit the injected footer.

The public domain is refused

Approve the exact live hostname under MivoChat Install settings → Allowed websites.

The launcher is missing despite the tag

Check the public page's Network and Console for CSP, consent, and configuration errors.

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.