Skip to content

GitLab Cloud Setup#

This guide covers connecting MergeMonkey to gitlab.com. For self-hosted GitLab (CE or EE), see GitLab Self-Hosted.

Prerequisites#

  • A gitlab.com account.
  • Maintainer or Owner role on the projects you want to enable.
  • A MergeMonkey account — sign up.

Connect GitLab#

  1. Authorize MergeMonkey

    From the MergeMonkey sign-in page, click Continue with GitLab. You'll be redirected to GitLab to authorize the app.

  2. Approve the scopes

    MergeMonkey requests four scopes: api (to post merge-request notes), read_user, email, and openid. Click Authorize.

  3. Return to MergeMonkey

    You're redirected to the dashboard with your GitLab account linked.

Enable projects#

Unlike GitHub (which uses a single app install per org), GitLab requires enabling MergeMonkey per project.

  1. Open the Repos page

    Visit /platform/repos. Your GitLab projects appear alongside any GitHub repositories.

  2. Enable a project

    Click the Enable toggle next to a project. MergeMonkey creates a project-level webhook and registers the required webhook secret — no manual config needed.

  3. Verify

    Open any open merge request on that project. A review posts within ~60 seconds.

Group vs personal projects

Enabling a project inside a GitLab group creates a workspace for that group (reused across all its projects). Enabling a personal project uses your user-scoped workspace.

What gets created#

For each enabled project, MergeMonkey:

  • Creates a Project Hook subscribed to Merge request events, Note events (comments), and Push events (for branch cleanup).
  • Stores a short-lived OAuth access token (refreshed automatically).
  • Creates or reuses a Workspace mapped to the project's group (or your user).

Disabling a project#

Click the Enable toggle off. MergeMonkey removes the webhook from the project and stops new reviews. Your review history is preserved for 90 days.

Tokens expire

If you revoke MergeMonkey's GitLab OAuth app authorization (GitLab → Preferences → Applications), all reviews stop immediately. Reconnecting re-authorizes without requiring you to re-enable each project.

Next#