Configurations
GitLab
Sync your docs with a GitLab repo
GitLab integration is available on the Enterprise plan.
Mintlify uses Access tokens for pulling information from GitLab and Webhooks for receiving notifications about repository changes.
Setup Guide
1
Get Project Information
- Find your Project ID under
Settings
>General
- Generate an access token:
- Go to
Settings
>Access Tokens
- Create a new token named “Mintlify”
- For private repos, set role as
Maintainer
- Select
api
andread_api
scopes - Create and copy the token
2
Configure Mintlify
Add your project ID and access token in the Mintlify dashboard.
3
Set Up Webhook
- Go to
Settings
>Webhooks
- Add new webhook with URL:
https://leaves.mintlify.com/gitlab-webhook
- Enter the Webhook token from Mintlify dashboard
- Enable:
- Push events (All branches)
- Merge requests events
- Test the webhook using “Push events” - should return HTTP 200
Need help? Contact the Mintlify team here.
Was this page helpful?