SurfSense Documentation
Connectors

Bookstack

Connect your Bookstack instance to SurfSense

BookStack Integration Setup Guide

This guide walks you through connecting your BookStack instance to SurfSense.

How it works

The BookStack connector uses the BookStack REST API to fetch all pages from your BookStack instance that your account has access to.

  • For follow up indexing runs, the connector retrieves pages that have been updated since the last indexing attempt.
  • Indexing should be configured to run periodically, so updates should appear in your search results within minutes.

Authorization

API Token Required

You need to create an API token from your BookStack instance. The token requires "Access System API" permission.

Step 1: Create an API Token

  1. Log in to your BookStack instance
  2. Click on your profile icon → Edit Profile
  3. Navigate to the "API Tokens" tab
  4. Click "Create Token" and give it a name
  5. Copy both the Token ID and Token Secret
  6. Paste them in the connector form

Step 2: Grant necessary access

Your user account must have "Access System API" permission. The connector will only index content your account can view.

Rate Limiting

BookStack API has a rate limit of 180 requests per minute. The connector automatically handles rate limiting to ensure reliable indexing.

Periodic Sync

Enable periodic sync to automatically re-index pages when content changes. Available frequencies: Every 5 minutes, 15 minutes, hourly, every 6 hours, daily, or weekly.


Connecting to SurfSense

  1. Navigate to the Connector Dashboard and select the BookStack Connector.
  2. Fill in the required fields:
FieldDescriptionExample
Connector NameA friendly name to identify this connectorMy BookStack Connector
BookStack Base URLThe full URL of your BookStack instancehttps://docs.example.com
Token IDYour API Token ID from BookStack
Token SecretYour API Token Secret from BookStack
  1. Click Connect to establish the connection.
  2. Once connected, your BookStack pages will be indexed automatically.

What Gets Indexed

The BookStack connector indexes the following data:

Data TypeDescription
PagesAll pages from your BookStack instance
ContentPage content in Markdown format
MetadataPage titles and metadata
StructureBook and chapter hierarchy information

On this page