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: Install for me creates 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.
Step 2: Choose how Paradime gets in
Under How Paradime gets in, pick one method.- Install for me (recommended)
- Use my own bot
Paradime creates its own GitLab service account named
paradime in your top-level group. It adds the account to your projects and creates the webhooks. You give Paradime access once, and Paradime does not store it.You can give access with Sign in with GitLab or with an Owner token.With Sign in with GitLab- Under Owner token, click 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. - Click Sign in with GitLab at the top of the card.
- On gitlab.com, sign in as an Owner of the top-level group and authorize Paradime.
- In GitLab, create a personal access token with the
apiscope, as an Owner of the top-level group. - In Paradime, paste it into Owner personal access token and click Find projects. Paradime shows the GitLab version and the user it signed in as.
- Under Bot role, pick Developer or Maintainer. See Bot role.
- Under Projects, select the projects that Paradime installs on. All projects must be in the same top-level group.
- Click Install.
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.
Install for me creates a GitLab service account. Service accounts need GitLab Premium or Ultimate. See Service accounts.