GitLab Integration
Commitloom integrates with GitLab via webhook and a project access token. Setup takes approximately 5 minutes.
Requirements
- GitLab.com or self-managed GitLab v15.0 or later
- Maintainer or Owner role on the GitLab project
- Commitloom Team plan or above (GitLab integration requires Team tier)
Step 1: Create a project access token
- Go to your GitLab project → Settings → Access Tokens
- Create a new token with the following scopes:
api(read merge request diffs and post comments) - Set a role of Developer or above
- Copy the generated token — you'll need it in step 3
Token rotation: Set a reminder to rotate the project access token before expiry. Commitloom will stop receiving webhooks if the token expires.
Step 2: Configure the Commitloom webhook
- In your Commitloom dashboard, go to Repositories → Connect GitLab
- Enter your GitLab project URL (e.g.
https://gitlab.com/org/repo) - Paste your project access token
- Commitloom will generate a webhook URL and secret for you — copy both
Step 3: Add the webhook to GitLab
- Go to your GitLab project → Settings → Webhooks
- Paste the webhook URL from step 2
- Paste the secret token from step 2
- Under Trigger, enable:
Merge request events - Enable SSL verification (required)
- Click Add webhook
Verify the connection
After creating the webhook, click Test → Merge request events in GitLab webhook settings. You should see a 200 response from Commitloom. Then open a new MR to trigger a full review.
Self-managed GitLab
Self-managed GitLab is supported on v15.0+. The webhook URL and token setup is identical. Ensure your GitLab instance can reach api.commitloom.com over HTTPS (port 443).