Skip to main content
Connect your BookStack wiki to SiteSpeakAI to create an AI chatbot that can answer questions using your existing knowledge base. Your chatbot will automatically pull content from your BookStack pages, books, and shelves to provide accurate, contextual responses to your visitors.

Why Use BookStack with SiteSpeakAI?

BookStack is a popular open-source wiki platform used by thousands of organizations for documentation and knowledge management. By connecting it to SiteSpeakAI, you can:
  • Instant answers: Let visitors ask questions in natural language instead of searching
  • 24/7 availability: Provide support even when your team is offline
  • Reduced support load: Automate responses to common questions
  • Always up-to-date: SiteSpeakAI automatically checks for new and updated content every hour

Prerequisites

Before connecting BookStack to SiteSpeakAI, you’ll need:
  1. A BookStack installation with API access enabled
  2. A BookStack API token and secret
  3. A SiteSpeakAI account (sign up free)

How to Get Your BookStack API Credentials

1

Log in to BookStack

Access your BookStack installation as an administrator.
2

Go to your profile

Click on your profile icon and select Edit Profile.
3

Create an API token

Scroll down to the API Tokens section and click Create Token.
4

Copy your credentials

Copy both the Token ID and Token Secret. Store these securely as the secret won’t be shown again.
Make sure your API token has read access to the content you want your chatbot to use. Check your BookStack role permissions if needed.

Connect BookStack to SiteSpeakAI

1

Open your chatbot dashboard

Log in to SiteSpeakAI and select your chatbot.
2

Go to Training & Content

Click Training & Content in the sidebar, then select Sources.
3

Click Add Sources

Click the + Add Sources button in the top right corner.
4

Select Apps

In the source type dropdown, select Apps to see available integrations.
5

Choose BookStack

Click on the BookStack integration option.
Add Sources page showing BookStack integration

Enter Your BookStack Details

In the Add Bookstack Integration modal:
1

Enter your Wiki URL

Enter the base URL of your BookStack installation (e.g., https://wiki.mywebsite.com).
2

Add your Access Token

Paste the API Token ID you copied from BookStack.
3

Add your Token Secret

Paste the API Token Secret.
4

Save the integration

Click Save to connect your BookStack wiki.
BookStack integration modal with Wiki URL, Access Token, and Token Secret fields

What Gets Imported

Once connected, SiteSpeakAI imports every BookStack page your API token’s user can view. Each page appears as its own source:
  1. Automatic import: All pages visible to the token’s user are fetched and processed
  2. Monitor status: Watch the training progress in the Sources list
  3. Control what’s included: Use BookStack’s role and content permissions to limit which pages the token’s user (and so your chatbot) can see
Your sources will show a Trained status with a green checkmark when ready.

How Your Chatbot Uses BookStack Content

After training, your chatbot will:
  • Search your BookStack content when visitors ask questions
  • Provide answers based on relevant wiki pages
  • Cite sources so visitors know where the information comes from
  • Handle follow-up questions with context awareness

Example Interaction

Visitor: “How do I reset my password?” Chatbot: “To reset your password, go to the login page and click ‘Forgot Password’. Enter your email address and you’ll receive a reset link within a few minutes. If you don’t see the email, check your spam folder.” Source: Password Reset Guide (BookStack)

Keeping Content Updated

Once connected, SiteSpeakAI automatically keeps your chatbot in sync with your BookStack wiki:
  • Automatic sync: SiteSpeakAI checks BookStack for new and updated pages every hour
  • No manual action required: Your chatbot automatically trains on any content changes
This means you can update your BookStack wiki and your chatbot will have the latest information within an hour.

Troubleshooting

Connection Failed

If you can’t connect to BookStack:
  • Verify your Wiki URL is correct and accessible
  • Check that API access is enabled in BookStack settings
  • Ensure your token hasn’t expired or been revoked
  • Confirm your token has read permissions

Content Not Appearing

If your content isn’t being fetched:
  • Make sure the role of the user who created the API token has both the Access system API and Export content permissions enabled (BookStack Settings → Roles). Without them, BookStack rejects the API or page-export requests and no content is imported
  • Check your BookStack role permissions
  • Verify the pages aren’t restricted to specific roles
  • Try creating a new API token whose role has the Access system API and Export content permissions, plus view access to the books you want imported

Chatbot Giving Wrong Answers

If responses aren’t accurate:
  • Review and update your BookStack content
  • Add more detailed information to relevant pages
  • Use fine-tuning to improve specific responses

Frequently Asked Questions

Yes, you can connect multiple BookStack installations to a single chatbot by adding each as a separate source.
SiteSpeakAI automatically checks your BookStack wiki for new and updated content every hour. No manual action is required.
You need your BookStack Wiki URL, an API Access Token, and the Token Secret. You can create these in your BookStack profile under API Tokens.

Next Steps

Fine-tune responses

Improve your chatbot’s answers with custom training.

Install on your site

Add your trained chatbot to your website.

Add more sources

Combine BookStack with other content sources.

Customize appearance

Match your chatbot to your brand.

Ready to automate your customer service with AI?

Join over 1000+ businesses, websites and startups automating their customer service and other tasks with a custom trained AI agent.
Last modified on July 28, 2026