GitLab Integration

Rapticore Integrates with a customer’s GitLab instance using a Personal Access Token.

📘

Rapticore only integrates with GitLab Cloud, currently.

For more information, refer to our GitLab integration reference.

Setup

Setup involves:

  1. Creating a Personal Access Token in GitLab
  2. Configuring Rapticore to integrate with GitLab

GitLab privileges

You must have GitLab organization rights to create personal access tokens with read_user, read_api, read_repository, and read_registry permissions.

📘

As a best practice, Rapticore recommends that the integration user is tied to a service user.

Rapticore privileges

You must have an Admin role to configure GitLab integrations in Rapticore.

Creating a personal access token

  1. Log in to gitlab.com/yourcompany with the email address of the user
  2. Go to User Setting by clicking the user avatar in the top right corner
  3. Select Edit Profile
968
  1. Click Access Tokens from the Left side panel
968
  1. Enter a name for the Personal Access Token

  2. Select read_user, read_api, read_repository, and read_registry checkboxes and Click create personal access token

968
  1. Copy the personal access token
968

📘

If you lose the Personal Access Token simply follow the steps to re-create a new one.

Configuring Rapticore

  1. Login to Rapticore as an admin user and navigate to the Manage > Integrations page and select the GitLab integration
1245
  1. Enter the personal access token created above in the API key field and click Save.
1298

You will then see the created integration.

1267

Once completed, you can navigate to the Applications > Repositories page in Rapticore and view your integrated Github repositories.

📘

GitLab repositories are tracked by an asynchronous process, so it may take a few minutes for the them to show up in the Repositories list.