> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open.cx/llms.txt
> Use this file to discover all available pages before exploring further.

# GitBook

> The GitBook source syncs the content stream (plus workspace metadata like users, organizations, and org members for context) from one GitBook space.

<Note>
  GitBook is a **knowledge-only** source — OpenCX reads GitBook content into the AI training index.
</Note>

The GitBook source syncs the `content` stream (plus workspace metadata like users, organizations, and org members for context) from one GitBook space. Use this when your product docs, help articles, or internal runbooks are authored in GitBook.

## What you get

* **Content from one space** — pages, nested pages, and their body content.
* **Source URLs preserved** — the `website` or `content` URL of each page, so the AI cites accurately.
* **Visibility by publish state** — published content is **public**, unpublished content is **internal**.

## Scope

* **One space per connection** — add a second source if you sync multiple spaces.
* **All pages in the space** — no per-page scoping. Hide pages inside GitBook if you don't want them indexed.

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Connect GitBook" icon="plug" href="/knowledge/sources/gitbook/connect">
    Access token, space ID.
  </Card>

  <Card title="Troubleshooting" icon="wrench" href="/knowledge/sources/gitbook/troubleshooting">
    Auth, wrong space, empty content.
  </Card>

  <Card title="Website crawler" icon="globe" href="/knowledge/sources/website/overview">
    Fallback for public GitBook sites.
  </Card>

  <Card title="Connect a knowledge source" icon="brain" href="/knowledge/sources/overview">
    All sources.
  </Card>
</CardGroup>
