Ghost Blog AI Chat
Add AI chat to your Ghost blog so it answers from your own posts with citations, using Ghost's built-in code injection. Here is the full setup.
Adding AI chat to a Ghost blog lets readers ask questions and get answers drawn from your own posts, with citations — using Ghost's built-in code injection, no theme editing required. It turns a content-rich blog into something readers can interrogate, and the setup takes minutes.
Why a Ghost blog benefits
A well-established Ghost blog or publication holds a lot of answers across its archive, but readers rarely find them by scrolling. An AI agent reads your posts and answers a reader's question directly, citing the post so they can read more. For publications and knowledge-style blogs, that turns an archive into an interactive resource. See the documentation use case.
Step 1: Index your posts
Create an account, get your publishable site key, and point the platform at your Ghost site to crawl your posts and pages. The platform chunks and embeds that content so the agent answers from it, cited. Schedule a re-crawl so new posts are covered automatically.
Step 2: Add the widget via Code Injection
Ghost has a Code Injection feature in its settings for adding scripts to the site header or footer. Paste the AIML.chat embed init into the site-wide footer injection with your publishable key, and the widget loads across your blog. No theme files to edit, and because the embed is async, it doesn't slow your pages.
Step 3: Configure the agent
Choose a support or knowledge agent and give it a grounded prompt: answer only from your indexed posts, cite the source, and say so when the answer isn't there. Grounding keeps it accurate to what you've actually written — see what is RAG. For a newsletter-driven blog, you can also capture emails when the agent can't fully answer.
Step 4: Structure for retrieval
Clean structure helps the agent answer. Use clear post titles and headings, and lead with the substance. The agent retrieves focused, well-titled posts more reliably than sprawling ones. This also helps your human readers and your SEO.
Step 5: Learn what readers want
The analytics show what readers ask — a direct signal of what to write next. Questions the agent couldn't answer are post ideas. Re-crawl after publishing and the agent improves, turning reader curiosity into an editorial backlog.
What you get
Your Ghost blog now answers readers' questions instantly, with cited responses pointing back to your posts, 24/7 — installed through code injection with no theme work. It deepens engagement with your archive and shows you what your audience wants. See Webflow AI chatbot for another no-code platform.
Why grounding beats a generic widget
Whatever platform you are on, the value is not the chat box — it is that the answers come from your own content. A generic chatbot bolted onto Ghost will improvise from a general model and confidently get your details wrong, which erodes trust fast. A grounded agent answers only from what you indexed and cites the page, so every reply is traceable to something you actually published. That is the difference between a widget that frustrates visitors and one they come to rely on, and it is why indexing your real content is the step that matters most.
Getting started
Add AI chat to your Ghost blog on the AIML.chat free plan: index your posts, paste the embed into Code Injection, and configure the agent. Compare tiers on the pricing page.
How do I add the widget to Ghost?+
Through Ghost's Code Injection in settings — paste the embed init into the site footer with your key, and it loads across your blog with no theme editing.
Will it answer from my whole archive?+
Yes — index all your posts and the agent answers from them, citing the source post so readers can read more.
Will it slow my blog down?+
No — the embed is an async script that loads after your content, adding no measurable render cost.
Related reading
Get the AIML.chat newsletter
Practical tips on AI docs assistants, RAG, and growing with content — a couple of emails a month. No spam, unsubscribe anytime.
Double opt-in — we'll email you to confirm.