GitLab integration is available on the Enterprise plan.
Setup Guide
1
Prepare GitLab Project
- 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
apiandread_apiscopes - 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:
- URL:
https://leaves.mintlify.com/gitlab-webhook - Name: “Mintlify”
- Token: Use webhook token from Mintlify dashboard
- Events: Select “Push events” and “Merge requests events”
- Test the webhook using “Push events” - Should return HTTP 200
Need help? Contact us here.