Before you start
Not sure where a value comes from? See Where to find each value.- In GitLab: you are an Owner of the top-level group that holds your dbt™ projects. To use Use my own bot instead, you need a token for a bot that is a member of the projects.
- In Paradime: you have permission to edit the workspace’s Git repository settings.
- GitLab tier: Sign in with GitLab and Owner token create a GitLab service account. Service accounts need GitLab Premium or Ultimate. On the Free tier, use Use my own bot.
- Network: if your network limits outbound traffic from GitLab, allow the webhook host. See Network requirements.
Step 1: Open the GitLab integration
- In Paradime, go to Settings > Integrations.
- On the Workspace tab, find GitLab and click Connect.
- When you create a workspace: in the repository step, choose GitLab, then GitLab connection.
- On the Git Repository page: go to Settings > Git Repository, choose GitLab, then GitLab connection.
Step 2: Choose how Paradime gets in
The install card is called Connect GitLab. Under How Paradime gets in, pick one of three methods. Sign in with GitLab is selected by default.
With Sign in with GitLab and Owner token, Paradime creates a GitLab service account named
paradime in your top-level group and adds it to your projects. The service account shows the Paradime logo as its avatar on merge requests, comments, and reviews. If GitLab refuses the avatar, the install continues and the account keeps GitLab’s default avatar.
The button that starts the install is at the bottom of the card. Its label changes with the method.
- Sign in with GitLab (recommended)
- Owner token
- Use my own bot
- Under How Paradime gets in, select Sign in with GitLab.
- Under Bot role, pick Developer or Maintainer. See Bot role.
- Under Projects, enter the project paths, one per line, for example
analytics/dbt-core. All projects must be in the same top-level group. - At the bottom of the card, click Sign in with GitLab.
- On gitlab.com, sign in as an Owner of the top-level group and authorize Paradime.
Bot role
The bot role is the role that theparadime service account gets on each project.
Step 3: Check the install
When the install is complete, Paradime shows a checklist under GitLab is connected:- The GitLab version.
- The bot user, for example
@paradime. - The token expiry date, and how many days are left.
- The webhook on each project.
- How many workspaces Paradime linked.
Add a webhook yourself
If a project shows Add the hook in GitLab with the URL and secret below, the bot could not create the webhook. Add it yourself.- Click Open webhooks in GitLab, or open the project’s Settings > Webhooks in GitLab.
- Add a webhook with the URL and Secret token from Paradime.
- Select the trigger events that Paradime lists for the project: Merge request events and Comments.
- Save the webhook.
- In Paradime, click I’ve added the hooks.
More than one top-level group
On gitlab.com, each GitLab connection covers one top-level group. To connect projects in another group:- On the GitLab integration page, click Install on another top-level group.
- Run the install again for that group.
Link your GitLab account
On gitlab.com, people link their GitLab account through Paradime’s own OAuth application. You do not register an application. Each person links their account once, so their Code IDE commits and pushes are their own. See Link your GitLab account.Where to find each value
Each field in the install wizard, what to enter, and where to get it in GitLab.
Sign in with GitLab and Owner token create a GitLab service account. Service accounts need GitLab Premium or Ultimate. See Service accounts.