Connections
Connect external sources to GitBook Assistant and GitBook Agent
Connections let you bring external content into your docs site.
Connected content can appear in AI Assistant, so visitors get answers drawn from everything you publish rather than your docs alone. Some connections also help GitBook generate change requests and identify content gaps. An MCP server connection can additionally let visitors carry out tasks from your docs.
In your site’s sidebar, go to Settings → Connections.
Available connections
You can connect support platforms, developer communities, and other content sources:
Intercom, Zendesk, Freshdesk, Front, HubSpot, Zoho Desk, and Pylon
GitHub Discussions and GitHub Issues
YouTube, a website, or an MCP server
How connections work
GitBook syncs records
After you save the connection, GitBook starts syncing records from that source.
In the connections list, you can review the sync status, record count, and last sync time.
Connected URLs refresh once a day by default. You can also trigger a refresh manually from your site’s Settings → Connections.
Reviewing your connections
The Connections page has three parts: Connect a source to add a connector, Connections to manage the ones you already have, and Records to browse what GitBook ingested.
The connections table
Every connected source has a row:
Source
The connector, and the account, channel, or URL it points at.
Status
Whether the most recent sync finished.
Records
How many items the source contributed, counted in that source’s own units — pages, videos, discussions, or conversations.
Search
The connection’s search ranking boost. This is empty when Expose in search / assistant is off.
Last synced
How long ago the connection last refreshed.
Records
The Records list shows the individual items GitBook ingested across every connection, newest first. Each record gives its title, the connector it came from, when GitBook processed it, and a link to the original.
A large site accumulates thousands of records, so the list is paginated. Use it to confirm a source brings in what you expect before you turn on Expose in search / assistant: a website connection returning blog posts when you wanted product pages shows up here first.
Connection settings
When you edit a connection, you can configure these options:
Label
Use Label to give the connection a clear name.
This makes the source easier to identify in the connections list, especially if you connect multiple repositories, websites, or channels.
Auto-generate change requests
Turn on Auto-generate change requests to let GitBook learn from the connection’s records and suggest documentation updates.
GitBook can use those records to create change requests with suggested changes for your team to review.
Expose in search / assistant
Turn on Expose in search / assistant to make records from this connection searchable by visitors and available to answer questions.
This allows connected content to appear in your site’s AI-powered search experience and in GitBook Assistant responses.
Search ranking boost
Use Search ranking boost to prioritize or deprioritize records from a connection in search.
Increase the value if this source should appear more often. Lower it if this source should have less weight than your primary docs.
Connector details
All connectors in this section can provide context to AI Assistant. GitBook Agent can use resolved records to identify content gaps and suggest documentation updates.
Intercom
GitBook indexes resolved conversations with at least one reply from a human or AI support agent. It doesn’t index open, unresolved, or spam conversations.
To connect Intercom, use an API key with read access to conversations. You control its scope and expiry.
Zendesk
GitBook indexes resolved conversations with at least one reply from a human or AI support agent. It doesn’t index open, unresolved, or spam conversations.
To connect Zendesk, enter your Zendesk subdomain, such as gitbook.zendesk.com. You also need an API key with read access to conversations. You control its scope and expiry.
Pylon
GitBook indexes resolved conversations with at least one reply from a human or AI support agent. It doesn’t index open, unresolved, or spam conversations.
To connect Pylon, use credentials with read access to conversations.
GitHub Discussions
GitBook indexes resolved discussions with at least one reply. It doesn’t index unresolved or spam discussions.
To connect GitHub Discussions, use credentials with read access to discussions.
GitHub Issues
GitBook indexes resolved issues. It doesn’t index open, unresolved, or spam conversations.
To connect GitHub Issues, use credentials with read access to issues.
Data stored for these connectors
GitBook stores only the conversation, discussion, or issue. We don’t store metadata or personal information.
GitBook redacts sensitive information before storage. We don’t store sensitive information in the indexed record.
Data retention and privacy
What does GitBook index?
GitBook indexes content from your connections and uses it across search, change requests, and other content-driven features. Each item we index from a connection is called a record. Examples of records are Intercom tickets, Freshdesk tickets, website pages, and more.
We use records to suggest content changes and provide additional context to agents running across GitBook.
We retain records for as long as the source remains connected. If you remove the connection, we delete all stored records. We do not delete any content that was generated using those records as context, or remove the content of records from any stored AI conversation logs.
For example, you might connect Intercom and GitBook suggests a documentation change based on a closed Intercom support ticket. If you then remove the Intercom connection, all our Intercom specific stored data is deleted, but the change requests will remain.
FAQ
Last updated
Was this helpful?