Skip to main content
Configure the source at AI Training → Data Sources.

Set up the sync

1

Open Data Sources

2

Add a GitBook source

Click Add source → GitBook.
FieldExampleWhere to get it
Space IDabc123xyzOpen the space in GitBook — the ID is in the URL after /space/ or findable via the GitBook API.
Access Tokengb_…Create a personal access token in your GitBook account. It must have read access to the space.
3

Start the sync

Click Connect. The first run pulls all pages in the space, typically in seconds to a minute.
4

Verify in AI Instructions

Open AI Training → AI Instructions. Content appears under GitBook, linked to the page URLs in your GitBook space.

What gets synced

Every page in the space, with title and body. Nested pages flattened into the index but keep their GitBook URL.
Users, organizations, insights, and org members sync as context. The AI uses these sparingly — they’re not the main driver for answers.
  • Published content → public
  • Unpublished content → internal
Toggle visibility in GitBook; it flips on the next sync.

Limits

Value
Streams syncedcontent, users, organizations, insights, org_members
Sync modefull_refresh_append
Sync cadenceAirbyte polling — typically every few hours
Credential typePersonal access token
Multi-spaceOne space per connection (add more connections for more spaces)
Selective scopingNone — hide pages in GitBook to keep them out

GitBook overview

Scope and behavior.

Troubleshooting

Auth, wrong space, empty content.

Website crawler

Fallback for public GitBook sites.

Connect a knowledge source

All sources.