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 Details
- Find your Project ID under
Settings
>General
- Generate an access token:
- Go to
Settings
>Access Tokens
- Create a token named “Mintlify”
- For private repos: Set role as
Maintainer
- Select
api
andread_api
scopes
2
Configure Connection
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” test
Need help? Contact us here.
Was this page helpful?