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 Apps > Connectors and click Add connector.
2
Search for GitBook and click Add.
3
Choose where to add the connector: Create a new app, or Add to an existing app (then select the app).If you’re creating a new app, choose whether to link it to an application discovered from your identity provider: select Yes and pick the IdP application, or No to continue with just the connector.
4
Set the connector’s Name and, optionally, a Description.
5
Click the pencil icon next to Owners to choose who can configure and manage this connector.
6
Click Add. The connector is created and its configuration page opens.
7
Find the Settings area of the page and click Edit.
8
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.
9
Click Save.
10
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.