Capabilities
Gather GitBook credentials
1
In GitBook, open your user account’s developer settings and create a
personal access token.
2
Copy the token. GitBook shows it once at creation time.
3
Note the unique identifier of the organization you want to read. You can
find it in the organization’s settings page URL in GitBook, or list the
organizations your token can see with
GET https://api.gitbook.com/v1/orgs.Configuration fields
Synced resource types
- Users: organization members from
/v1/orgs/{organization_id}/members, including guests and SSO-provisioned users. Disabled members sync with a disabled status. - Teams: organization teams from
/v1/orgs/{organization_id}/teams, each with amemberentitlement. - Team membership: team-member grants from
/v1/orgs/{organization_id}/teams/{team_id}/members. Team owners and members both hold thememberentitlement.
Special notes
- Provisioning is not supported in the current build.
- The connector authenticates with the personal access token as a bearer credential.
- One connector reads the single organization named by
organization-id. Spaces, sites, and collections are content surfaces and are not synced.
Configure the GitBook connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your GitBook connector is now pulling access data into C1.
1
In C1, navigate to Integrations > Connectors and click Add connector.
2
Search for GitBook and click Add.
3
Choose how to set up the new GitBook connector.
4
Set the owner for this connector.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
Enter the GitBook credentials:
- GitBook API host: The API host, usually
https://api.gitbook.com. - Organization ID: The unique identifier of the organization to read.
- API token: The personal access token.
8
Click Save.
9
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.