Skip to content

Tutorial: Build a Knowledge Bot for Confluence

In this tutorial, you’ll build an internal knowledge bot that your team can use to find information in your Confluence wiki instantly. Instead of searching through pages and spaces, your team just asks a question.

Scenario: Your company uses Confluence for internal documentation — engineering runbooks, product specs, HR policies, onboarding guides. Finding the right page takes time. You want a chatbot that knows everything in the wiki.

Time needed: About 25 minutes (Confluence crawls are slower due to its dynamic content).

What you’ll learn:

  • How to crawl Confluence (a JavaScript-heavy site that many chatbot tools can’t handle)
  • How to supplement Confluence with PDF manuals
  • How to set up a private bot for internal use
  • How to connect via MCP so AI coding tools can search your wiki

Confluence is a single-page application (SPA) — it loads content via JavaScript after the page shell renders. This means basic crawlers get empty pages. ChatbotIQ handles this, but you need to use the right settings.

  1. Go to Knowledge Base”+ Add Source”Website.
  2. Enter your Confluence URL (e.g., https://yourcompany.atlassian.net/wiki/spaces/DOCS).
  1. Set these settings before starting the crawl:
SettingValueWhy
ModeAdvancedConfluence sitemaps are often incomplete. Link-following is more reliable.
Reader ModeONStrips Confluence’s heavy UI chrome (sidebar, breadcrumbs, comments).
Content Selector#main-contentTargets the article content area specifically.
Content Load Delay3 secondsConfluence loads content via async API calls. Needs time to render.
Concurrency2—3Confluence aggressively rate-limits. Higher concurrency triggers 429 errors.
Max Depth15—20Confluence wikis can be deeply nested.
Max PagesStart with 200Test first, then increase.
  1. Click Discover and Crawl.

Expect slower crawling. At 2—3 concurrency, Confluence crawls at roughly 2—5 pages per minute. A 500-page wiki takes about 2—3 hours. This is normal — the low concurrency prevents Confluence from blocking you.


If your team has documents outside Confluence (runbooks, policy docs), add them as PDF sources. See Add PDFs and Q&A Sources for the walkthrough.


  1. Go to Bots“Create Bot”.
  2. Name: “Wiki Assistant” or “Team Knowledge Bot”.
  3. Sources: Select your Confluence source and any PDF sources.
  4. Model: GPT-5 Mini works well for internal Q&A. If your documentation is technical and nuanced, consider GPT-5.2 or Claude Sonnet 4.6 for better reasoning.
  5. Personality: Here’s a template for internal bots:
You are a knowledgeable assistant for the [Company] team. You help team members find information from our internal wiki and documentation.
Guidelines:
- Be concise and direct -- team members want quick answers
- Always cite the source page so people can read the full context
- If the information might be outdated, mention when the source was last updated
- For sensitive topics (HR, legal, finance), remind the user to verify with the relevant team
  1. Click Create.

Open bot settings:

Set Privacy Mode to Private. This means only workspace members can use the bot. No embed code needed — your team accesses it through the ChatbotIQ dashboard.

Alternatively, set it to Authenticated if you want any logged-in ChatbotIQ user to access it, or Public with Allowed Domains set to your intranet domain.

Keep Include Source Citations ON. Team members need to verify information and read the full Confluence page for context.

Toggle Allow General Knowledge to ON if you want the bot to supplement wiki answers with general explanations. For example, if someone asks “What is Kubernetes?” and your wiki assumes prior knowledge, general knowledge mode can provide background context.


If your team uses AI coding assistants (Claude Desktop, Cursor, etc.), you can connect them to your knowledge bot via MCP:

  1. In the Playground, switch to the MCP tab.
  2. Toggle MCP Enabled to ON.
  3. Generate an MCP API key.
  4. Copy the connection configuration.
  5. Add it to your AI tool’s MCP settings. For Claude Desktop, add it to claude_desktop_config.json.

Now your development team can ask their coding assistant questions about your internal docs without leaving their IDE.


Test with questions your team actually asks:

  • “How do I set up the development environment?”
  • “What’s the process for requesting time off?”
  • “Where is the architecture diagram for the billing service?”
  • “What are the runbook steps for a database failover?”

Check the Debug panel for each answer:

  • Are the right Confluence pages being retrieved?
  • Are the relevance scores high?
  • Is the content clean (no navigation or sidebar text)?

If content looks noisy: Adjust the Content Selector. Try article or .wiki-content instead of #main-content if your Confluence theme uses different markup.


  1. Invite team members — go to Team and invite your colleagues. Give them Member or Viewer roles.
  2. Share the link — send your team the ChatbotIQ dashboard URL.
  3. Set expectations — let your team know what the bot can and can’t do. It’s great for finding information, but it’s only as good as the content in your wiki.

Confluence content changes frequently. Refresh your source weekly, and after major wiki updates. See Keep Content Up to Date for refresh strategies.