Skip to content

Add an AI chatbot to your Docusaurus docs.

Docs sites get the same questions over and over. ChatBento learns from your Docusaurus pages and answers them in a chat window, linking to the page it used. Docusaurus's scripts option adds the widget to every page from one config entry.

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

Install on Docusaurus in 5 steps

Where it goes: docusaurus.config.js → scripts

  1. 1

    In ChatBento, open your chatbot, go to Install and copy your bot ID (the data-bot-id value in the snippet).

  2. 2

    Open docusaurus.config.js (or .ts).

  3. 3

    Add the entry below to the scripts array, with your bot ID.

  4. 4

    Rebuild and deploy.

  5. 5

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

docusaurus.config.js

export default {
  // …
  scripts: [
    {
      src: "https://chatbento.com/widget.js",
      async: true,
      "data-bot-id": "YOUR_BOT_ID",
    },
  ],
};

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

Keep async

Docusaurus puts these scripts in <head>, where they'd block rendering, so its docs suggest async or defer. Keep async: true.

Extra attributes are allowed

Docusaurus accepts any attribute with a string or boolean value on a script object, so data-bot-id is passed through as written.

Versioned docs

Train ChatBento on your current docs version. If old versions are crawled too, answers can mix versions; add Q&As to point people at the right one.

What the chatbot does on your Docusaurus 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.

Docusaurus questions. Answered.

Will it link to the docs page it answered from?

Yes. Answers show the pages they came from, so readers can open the full doc.

Does it replace Algolia DocSearch?

No, they work together. Search finds pages; the chatbot answers questions in full sentences from those pages.

Does it stay open between docs pages?

Yes. Docusaurus navigates on the client side and the widget sits outside its app root, so a conversation continues as readers move around.

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 Docusaurus site. Live in minutes.

14-day free trial. No card required.