GitRabbit
Connecting
🐇 GitRabbit v2 is under construction
GITLAB INTEGRATION

GITLAB NODE INTEGRATION

Connect GitRabbit to GitLab SaaS or self-hosted instances.

GitRabbit supports GitLab SaaS (gitlab.com) and self-hosted GitLab instances. Integration is configured using Project Access Tokens and webhooks, enabling GitRabbit to listen to Merge Request events and post feedback threads.

Key_Capabilities

SaaS & Self-Hosted Support

Integrate with public repositories on GitLab SaaS or private self-hosted deployments.

Access Token Authentication

Control access scopes with Personal or Project Access Tokens.

Webhook Events

Trigger scans on Merge Request creation, updates, and comment thread activities.

Setup_Sequence

1
Step 01

Create Access Token

Go to your GitLab project settings and generate a Personal or Project Access Token with 'api' scope.

2
Step 02

Add Webhook

Add a Webhook to your GitLab project pointing to the GitRabbit API endpoint with Merge Request events enabled.

3
Step 03

Configure Instance URL

If using a self-hosted instance, set the base URL in your GitRabbit settings (e.g., gitlab.acme.com).

Code_Example

GitLab Webhook Configuration Parameters
URL: https://api.gitrabbit.com/v1/webhooks/gitlab
Secret Token: gr_gitlab_sec_9f83a21...
Trigger events:
- Merge request events (Checked)
- Note events (Checked - for comment thread replies)
- Pipeline events (Optional)

Pro_Tips

  • Ensure the GitRabbit API token has sufficient permissions to write comments on your GitLab projects.
  • Check your self-hosted instance firewall settings to ensure outbound access to api.gitrabbit.com is enabled.
GitHub NodeBitbucket Node