G
Documentation Platforms

GitBook

Bring AI answers to your GitBook knowledge base

What is GitBook?

GitBook is a collaborative documentation platform used by teams to write internal wikis, public developer docs, and API references. It publishes content as a hosted website with a clean reading experience.

Integration

How BeforeQuery works with GitBook

Everything you can do once the integration is connected.

Space-level crawling

BeforeQuery crawls your entire GitBook space, capturing every page including nested sub-pages and variant branches.

Scheduled re-sync

Configure a sync schedule (daily, weekly, or on-demand) so your BeforeQuery index reflects the latest edits made in GitBook.

Internal and public spaces

Index public GitBook sites directly. For private spaces, use the GitBook API integration to pull content with authentication.

Citation links to exact pages

Answers include direct links to the GitBook page and heading anchor, making it easy for users to read the full context.

Setup

How to set it up

1

Create a BeforeQuery project and add your GitBook space URL as a source. For private spaces, provide an API token in the source settings.

2

Run the first crawl. BeforeQuery normalizes GitBook's page structure into clean markdown chunks ready for embedding.

3

Embed the BeforeQuery widget on your GitBook site using the custom HTML injection in GitBook's settings, or share the portal link with your team.

Ready to connect GitBook?

Start free. No credit card required. Connect your first integration in under 5 minutes.