GitLab integration is available on the enterprise plan.

1

Find your project ID

Navigate to your project’s Settings > General and find the Project ID.

2

Generate a project private token

a. Navigate to your project’s Settings > Access Tokens.

b. Select Add new token and add a token name and choose read_api for the scopes. If you have a private repo, you must set the role as Reporter.

c. Finally click Create project access token and copy the token.

3

Switch source to GitLab

In Mintlify dashboard, click Settings, under Project settings, click Switch to GitLab.

Enter the project ID and private token you generated in the previous steps. Choose a branch to deploy from. Click Save changes.

A redploy will be triggered automatically and your documentation will be updated.