Skip to content

Tutorial: Add an AI Chatbot to a Scroll Sites Help Center (Confluence)

In this tutorial, you’ll add an AI chatbot to a help center or documentation site that you publish from Confluence with Scroll Sites. By the end, visitors can ask a question on any page and get an answer taken from your documentation, with a link to the page it came from, and your writers can see which questions the documentation could not answer.

ChatbotIQ is a European platform that turns your help center, documentation, or website into an AI assistant. It answers only from your content, links to its sources, and says so when your content doesn’t cover a question.

Scenario: Your team writes product documentation in Confluence and publishes it as a public help center with Scroll Sites, perhaps for several product versions. Customers search, don’t find the page, and open a ticket. You want an assistant that answers from the published pages, and you want to know which questions the pages don’t answer, so your writers can fix them.

Time needed: About 20 minutes. Indexing runs in the background.

What you’ll learn:

  • How to index a Scroll Sites site quickly and cleanly
  • How product versions and variants are handled
  • How to set up and test a documentation bot
  • How to add the widget through the Scroll Sites theme, which accepts JavaScript only
  • How to turn unanswered questions into a list of pages to fix

Internal wiki, not a public site? If you want a bot for a Confluence wiki that people log in to, use the Confluence connector instead: see Build a Knowledge Bot for Confluence. This tutorial is for the public site that Scroll Sites publishes.

Scroll Sites also has its own AI assistant. K15t offers an AI Assistant for the Help Center theme. If answering visitors on one help center is all you need, try it first. ChatbotIQ is for teams that also want to:

  • see which questions the documentation could not answer, as a work queue for the people who own the pages
  • answer from more than this one site, such as your API reference, product website or PDF manuals, in the same assistant
  • offer the same assistant in your product, on your website, in Slack, or in AI tools like Claude and ChatGPT
  • choose its tone and model, and hand conversations over to your support team

Scroll Sites publishes a markdown version of each page next to the page your visitors see. ChatbotIQ finds it on its own and reads that instead of the rendered page. Two things follow:

  • Clean content. The assistant learns from the text your authors wrote, without menus, banners, or cookie notices mixed in.
  • Versions travel with the page. Each page states its version and variant (for example 6.3, Cloud or Data Center) and when it was last changed. ChatbotIQ keeps these with the page, so the assistant knows which version each passage belongs to.

There is nothing to switch on for this. The one setting worth changing is Simple Mode, in Step 1.


  1. Go to Knowledge Base → ”+ Add Source” → Website.
  2. Enter the address of your site (e.g., https://help.yourproduct.com). To index one documentation space only, enter its address instead.
  3. Under Configuration mode, choose Manual.
  4. For Discovery Mode, keep Sitemap Discovery. Scroll Sites publishes a sitemap for the whole site, so discovery takes seconds.
  5. Open Advanced Options → Performance and turn on Simple Mode. The page text comes from the markdown version, so loading every page in a browser adds nothing. The crawl is much faster with it on.
  6. Click Start Discovery.
  1. Look through the discovered pages before you crawl. On a site with several versions, every version of a page is a separate page and counts toward your plan’s page limit.
    • If customers only use the current version, deselect the older ones. Use Path Filters or the search box to select them in one go.
    • If customers run different versions, keep them. The assistant sees the version next to each passage.
  2. Click Start Crawling.

Is your site restricted to logged-in visitors? Open one of your pages in a private browser window. If you land on a login screen, the crawler will too, and nothing useful gets indexed. In that case, index the Confluence spaces behind the site with the Confluence connector.


  1. Go to Bots → “Create Bot”.
  2. Basic Info: Name it (for example “Docs Assistant”) and choose Technical Documentation as the bot type. It is tuned for precise, citation-rich answers.
  3. Sources: Select the source from Step 1.
  4. Model: GPT-6.1 Terra (the recommended default) suits most documentation. See AI Models Compared if your content is highly technical.
  5. Behavior: Paste this template into Base Prompt and customize it:
You are the documentation assistant for [Product Name].
Guidelines:
- Give step-by-step instructions when the user asks how to do something
- If the user's product version or edition matters and they have not said which one they use, ask
- When you answer for a specific version, name it

The personality only needs tone and focus. ChatbotIQ adds its own rules underneath: answer from your knowledge base, cite sources, and say when something is not covered.

  1. Review the summary and click Create Bot. You land in the Playground.

In the Playground, ask what your customers ask:

  • Common how-to questions. Take five from recent support tickets. Do the answers match the documentation?
  • A version question. Ask about a feature that differs between versions or between Cloud and Data Center, and name the one you mean. Check that the cited page is the right one.
  • The same question without a version. The bot should ask which one you use, or say which version its answer applies to.
  • Something your docs don’t cover. The bot should say so, not guess.

Click Debug to open the RAG Debug panel and check that the retrieved passages are clean text from the right pages.

Two versions of a page that read almost the same are hard to tell apart for any assistant. If answers mix them up, the usual fix is on the content side: say the version in the page text where behavior differs, or index only the versions customers actually use.


Step 4: Add the widget to your Scroll Sites site

Section titled “Step 4: Add the widget to your Scroll Sites site”
  1. In the bot’s Settings → Advanced, set Privacy to Public.
  2. Under Allowed Domains, add your help center’s domain so the bot can’t be embedded elsewhere.
  3. Switch to the Deploy tab, open Website widget, and scroll to Advanced Options. Copy the JavaScript-only embed code, not the HTML code at the top.

The Scroll Sites Help Center theme accepts JavaScript only, not HTML, which is why you need the JavaScript-only code. It looks like this, with your bot ID already filled in:

window.__chatbotiq = {
botId: 'YOUR-BOT-ID',
domain: 'www.chatbotiq.eu',
apiBase: 'https://app.chatbotiq.eu',
};
var s = document.createElement('script');
s.src = 'https://www.chatbotiq.eu/embedded.js';
s.async = true;
document.head.appendChild(s);
  1. In Confluence, open your site in Scroll Sites and go to Site Settings → Look and feel → Customize theme.
  2. Open the Code tab.
  3. Paste the code into the Custom JavaScript editor. It runs on all pages after the page has loaded.
  4. Click Apply to preview and check that the launcher appears in the preview.
  5. Save your changes, close the editor, then click Publish changes in your site settings.

K15t describes this editor in Inject Custom JavaScript. The steps above are for the Help Center theme; other themes may differ.

  1. Open your help center with a hard refresh (Ctrl+Shift+R or Cmd+Shift+R). The launcher appears in the bottom-right corner on every page.
  2. If it doesn’t appear, open the browser console (F12 → Console) and look for [ChatbotIQ] messages, or see Troubleshooting.

To match the widget to your help center’s colors, see Match Your Widget to Your Brand.


Documentation changes with every release. On the Standard plan and above, sources re-crawl automatically, and only pages that changed are indexed again. On other plans, refresh the source after you publish. See Keep Content Up to Date.

When you publish a new product version, its pages are new pages. Click Update on the source in Knowledge Base so they are found, and remove versions you no longer support.


Step 6: See what your documentation is missing

Section titled “Step 6: See what your documentation is missing”

Every question the assistant can’t answer, and every answer that gets a thumbs-down, points at a page that is missing, outdated, or unclear. ChatbotIQ collects them under Analytics → Doc issues: one issue per problem, with the questions behind it and, when known, the page and section to change.

  1. Read the conversations in the first week. They show what customers actually ask, in their own words.
  2. Give each part of the help center an owner. In Doc issues, select Areas, add the address of each documentation space (for example https://help.yourproduct.com/admin-guide/), and choose the writer who owns it. New issues go to that person, who also gets them in a daily email.
  3. Fix the page in Confluence. Once Scroll Sites has published the change, click Update on the source, or wait for the next scheduled re-crawl.
  4. Mark the issue fixed and paste the page address. If customers keep asking about the topic, the issue reopens on its own.

Doc issues are included in the trial and on all paid plans. See Work Through Doc Issues for the details, and Close the Documentation Feedback Loop to go from issue to edited Confluence page in one Claude chat.


Start your free 14-day trial and have an assistant answering from your Scroll Sites documentation in about 20 minutes. No credit card needed.

Short on time? Send us your help center address and we’ll prepare the assistant for you.