How to add an AI chatbot to Ghost

Ghost has a Code injection panel with a Site Footer field made for this. Paste the snippet, save, and it appears across the whole site — no theme edit and no redeploy, on both Ghost(Pro) and self-hosted installs.

Where it goes

Settings → Code injection → Site Footer

Availability: All Ghost(Pro) plans and self-hosted Ghost.

Adding the chatbot to Ghost

  1. 1

    In Ghost admin, open Settings.

  2. 2

    Select Code injection.

  3. 3

    Paste your RubyRep snippet into the Site Footer box.

  4. 4

    Click Save.

  5. 5

    Open your site to confirm the launcher appears.

The snippet you paste

<script src="https://rubyrep.com/rubyrep.js" data-rubyrep="rr_your_public_key" defer></script>

Your own key replaces rr_your_public_key — you get it after training RubyRep on your site.

Worth knowing on Ghost

  • Site Footer injection applies to every page including posts, so there is nothing per-post to do.

  • Ghost also has per-post code injection if you ever want the widget on a single page only.

  • Editing the theme's default.hbs works too, but code injection survives theme changes and is easier to undo.

Ghost questions

Will it appear on members-only posts?
Yes. Code injection runs on every rendered page regardless of the post's access level.
Does it work on self-hosted Ghost?
Yes, identically. Code injection is part of Ghost itself, not a Ghost(Pro) feature.

Related

Get your snippet.

Enter your Ghost site and RubyRep reads it, builds your representative, and hands you the exact line to paste.

https://

Takes about a minute. No credit card.

Using something else? See all platforms.