Skip to content

Add an AI chatbot to your Ghost site.

Ghost's Code Injection adds code to every page of your site, and its Site Footer field goes just before the closing </body> tag. Paste the ChatBento snippet there once and readers can ask questions answered from your own posts, pages and FAQs.

Start freeFree plan, 50 messages a month. No card required.

Install on Ghost in 5 steps

Where it goes: Settings → Advanced → Code Injection → Site Footer

  1. 1

    In ChatBento, open your chatbot, go to Install and copy the one-line snippet.

  2. 2

    In Ghost admin, open Settings → Advanced → Code Injection.

  3. 3

    Paste the snippet into the Site Footer field.

  4. 4

    Save.

  5. 5

    Open your live site in a new tab and click the chat bubble in the corner to test it.

The snippet looks like this (your bot ID is filled in for you)

<script src="https://chatbento.com/widget.js" data-bot-id="YOUR_BOT_ID" async></script>

Steps follow Ghost’s own documentation, checked October 23, 2026.

Site Footer, not Site Header

Ghost injects Site Header code into <head> and Site Footer code before </body>. Ghost's own tutorial suggests the footer for scripts, and that's where the chatbot belongs.

On one post only

To show the chatbot on a single post or page, leave the site setting empty and use Code Injection in that post's settings in the editor instead.

Members and paid posts

ChatBento reads what a logged-out visitor can see. Content behind a members or paid wall won't be crawled, so add it as text if you want the bot to answer from it.

What the chatbot does on your Ghost site

Answers from your content

Trained on your pages, docs and Q&As. It says so when it doesn't know, instead of guessing.

Hands off to you

When a visitor needs a person, it collects their email and sends you the conversation.

Free to start

A free plan with 50 AI messages a month. Paid plans from $8/month: 80% less than Chatbase.

Comparing tools? See ChatBento vs Chatbase and pricing.

Ghost questions. Answered.

Does it work with any Ghost theme?

Yes. Code Injection is added by Ghost itself, outside your theme, so it works with Casper, Source or a custom theme, and survives theme changes.

Can ChatBento learn from my Ghost posts?

Yes. Enter your site's address and it reads your published posts and pages through your links and sitemap. Retrain whenever you publish something new.

Will it clash with Ghost's Portal or comments?

No. The widget renders in its own shadow DOM, so it doesn't share styles or scripts with Portal, comments or your theme. Choose the corner it sits in so it doesn't cover Portal's button.

How much does ChatBento cost?

ChatBento has a free plan with 50 AI messages a month, free forever. Paid plans are Hobby at $8/month, Standard at $30/month and Pro at $100/month. New accounts start with a 14-day trial, no card required.

Add AI support to your Ghost site. Live in minutes.

14-day free trial. No card required.