<defaltam/>

Platforms

Adding an AI chatbot to a Ghost site

Ghost has a Code Injection setting for site-wide header code. Paste the chatbot script there and it runs across posts and pages.

In short

On Ghost, add an AI chatbot through Settings → Code Injection → Site Header, pasting the widget script and saving.

The widget then appears on every post and page, including member-only content.

4.7·130 reviews

Key facts

Key facts

The steps on Ghost

  • · Create the chatbot and index your Ghost domain.
  • · Open Settings → Code Injection.
  • · Paste the script into Site Header and save.
  • · Reload any post to see the launcher.
<script src="https://defaltam.com/api/public/bot/widget?k=YOUR_PUBLIC_KEY" async></script>

Useful for publications

On a content site the chatbot doubles as a search box that answers instead of listing results. Readers ask a question and get the passage from the article that answers it, along with a link to keep reading.

Membership and paid content

Only index what is public. If your archive is behind a paywall, keep that content out of the bot's knowledge so it does not summarise what readers pay for.

The product behind this guide

A chatbot trained on your own website, live today

Defaltam builds AI chatbots that read your public pages and answer with your real prices, services and policies. Support is €79/month, Sales is €149/month, both start with a 5-day free trial, and installation is one script tag.

FAQ

Questions people ask about this

How do I add a chatbot to Ghost?

Open Settings → Code Injection, paste the chatbot script into the Site Header field and save. It then loads on every post and page.

Can the chatbot answer from my blog archive?

Yes, from the public pages it indexes. Keep paywalled content out of the index if you do not want it summarised.

Do I need to edit my Ghost theme?

No. Code Injection handles it without touching theme files.

Does it work with a custom Ghost theme?

Yes, as long as the theme renders Ghost's standard head and foot helpers.

Related

Keep reading.