Apply for free DeskClone creditsApply now →

How to add AI chat to a Ghost site

Ghost has no built-in chat, so adding one means pasting a script tag. This assumes a paid Ghost plan or self-hosted Ghost, since Ghost has no free tier. It works the same way on all of them.

The steps

  1. 1

    Create your agent and publish it

    Sign up at DeskClone, point it at your Ghost site's address, and let it read your public pages. Publish the agent when you are happy with its answers. Publishing is what produces the key the script tag needs.

  2. 2

    Copy your script tag

    In DeskClone, open your agent and go to the Share tab. Copy the script tag shown there. It carries your own key, so do not use the example below as-is.

  3. 3

    Open Ghost's Code Injection

    In Ghost Admin, go to Settings, then Code injection. You will see two boxes, Site Header and Site Footer.

  4. 4

    Paste into Site Footer and save

    Paste the script tag into Site Footer, not Site Header. The footer box loads the widget after your content, so your pages render first. Click Save.

  5. 5

    Check a live page

    Open your published site in a new tab. The chat button appears in the corner on every page. If it does not, hard refresh once, since Ghost caches the injected code briefly.

What the script tag looks like

Yours will carry your own key in place of the placeholder.

<script
  src="https://agents.deskclone.ai/embed/chat.js"
  data-key="your-key-here"
></script>

One page instead of the whole site

Code injection in Settings is site-wide, so the agent appears everywhere. If you only want it on one post or page, leave the site-wide box empty and use that post's own code injection instead: open the post in the editor, open its settings from the sidebar, and paste the same script tag into the footer box there. It then loads on that post alone.

Which Ghost plans this works on

Code injection is a core Ghost feature rather than a premium add-on, so it is available on every paid Ghost plan including the entry tier, and on self-hosted Ghost. You do not need a higher plan to add chat.

One thing that trips people up: Ghost's pricing table marks custom integrations as unavailable on the entry plan. That row refers to Ghost's Admin API and webhooks, not to code injection. Pasting a script tag still works.

Worth knowing

  • The DeskClone free plan covers 10 conversations a month. A busy publication will need a paid plan.
  • Your agent answers from what you give it. If your Ghost site is thin on the questions readers actually ask, it will say so rather than invent an answer.

Why this is the normal way to add chat to Ghost

Every chat tool in Ghost's own integrations directory installs the same way. Their setup instructions for tools like Intercom and LiveChat are, in effect, paste this code into Code Injection. There is no plugin system to go through, so a script tag is the supported path rather than a workaround.

DeskClone is not in that directory. Ghost curates it based on customer demand and states it is not open to submissions, so being listed is not something a vendor can apply for. It makes no difference to how the install works.

What you get

  • An agent that answers from your own posts and pages, with a link to what it drew on.
  • A handoff to a human, by email or a ticket, when it cannot answer.
  • A flat monthly plan rather than a charge for every question answered.

Publishing on a different platform? The Hostinger guide covers the same install there.

Ready to let DeskClone handle your support?

See DeskClone in action. Book a live demo or start your free trial. DeskClone can be up and running today.

No credit card required. Setup takes minutes, not weeks.
Questions? Reach out at hello@deskclone.ai