Skip to main content
A workspace can reach its GitLab project in two ways: Before you connect a workspace through the GitLab connection, install the connection on the project. See Connect gitlab.com or Connect GitLab Self-Managed.

Connect a workspace through the GitLab connection

  1. In Paradime, go to Settings > Git Repository.
  2. In Choose your provider, select GitLab.
  3. In Choose how Paradime connects, select GitLab connection and click Continue.
  4. If your company has no GitLab connection yet, install it on this page. Choose GitLab (your projects live on gitlab.com) or GitLab Self-Managed (your company runs its own GitLab instance), then follow the install steps in Connect gitlab.com or Connect GitLab Self-Managed. When the install is complete, you stay on the Git Repository page.
  5. In Pick the project, select the project. The list shows only the projects that a GitLab connection reaches. If you just added the project to a connection and it is not in the list, click Refresh next to the list.
  6. If the repository holds more than one dbt™ project, enter the folder of this workspace’s project in dbt™ project path (optional). See Set the dbt™ project path.
  7. Click Connect project.
If the workspace was connected through GitLab and no GitLab connection reaches a project any more, the page shows No GitLab project left to use. Click Set up the GitLab connection to open the GitLab integration page, and add the project to a connection. Paradime clones the project over HTTPS. The Repository card then shows Connected with: GitLab connection, the project, and the dbt™ project path (optional).

In workspace setup

When you create a new workspace, the repository step has the same choice:
  1. Choose GitLab, then GitLab connection.
  2. If GitLab is not connected yet, choose GitLab (your projects live on gitlab.com) or GitLab Self-Managed (your company runs its own GitLab instance), and install the connection in the same step. You can do this as the person who creates the workspace: you become its admin, so you don’t need an admin to do it for you.
  3. In Pick the project, select the project. If needed, enter the dbt™ project path (optional). Then click Connect project. Click Refresh next to the list if a project is missing.

Set the dbt™ project path

Leave dbt™ project path (optional) empty when the repository holds one dbt™ project. Paradime finds its dbt_project.yml. Enter a path when the repository holds more than one dbt™ project, for example a monorepo with one project for each team. The path tells Paradime which project this workspace runs.
  • Enter the folder that holds dbt_project.yml, relative to the root of the repository, for example jaffle_shop. You can also enter the file path, jaffle_shop/dbt_project.yml.
  • Paradime checks that dbt_project.yml is in that folder on the branch the workspace runs. If it is not, Paradime shows No dbt_project.yml at <folder>/ in <project>.
To change the path of a connected workspace, click Edit next to dbt™ project path (optional) on the Repository card, enter the new folder, and click Save. To run the project at the root of the repository again, clear the field and click Save. When the path changes, Paradime updates the workspace’s dbt™ profiles and redeploys its Bolt schedules, so the next run uses the new folder.
A workspace that already has a repository can connect only that same project through the GitLab connection. To use a different project, click Change repository first. See Update connected git repository.

Switch a deploy-key workspace to HTTPS

When a GitLab connection already covers the project of a workspace that uses a deploy key, the Git Repository page shows a banner: Switch to HTTPS: the GitLab connection to <host> already covers this project.
  1. Go to Settings > Git Repository.
  2. In the banner, click Switch to HTTPS through GitLab.
The repository does not change, only how Paradime reaches it. The deploy key stays on file. To clone over SSH again, click Switch back to the deploy key in the banner. That button shows only while the deploy key is on file. If you delete the deploy key in GitLab, the workspace stays on HTTPS. When you switch in either direction, Paradime redeploys the workspace’s Bolt schedules, so their next run clones the new way.

What changes for the workspace

On a workspace connected through the GitLab connection, every part of Paradime uses HTTPS: To use git in the Code IDE on a workspace connected through GitLab, each person links their own GitLab account. Their commits and pushes are then made as them.
  1. Go to Settings > Integrations and open the Personal tab.
  2. On the GitLab tile, click Connect.
  3. Sign in to GitLab and authorize Paradime.
The tile then shows Connected as @<your GitLab username>. If you push from the Code IDE before you link your account, the git error has a link. The link opens a page that starts the GitLab sign-in in one click.
On GitLab Self-Managed, the GitLab tile shows only when the Paradime OAuth application is registered on your instance. See Register the OAuth application. If your company set a sign-in URL, your browser opens GitLab at that address.

DinoAI agents on GitLab

On a workspace connected through the GitLab connection, a DinoAI agent session works on GitLab like this:
  • The agent clones the project with a read-only token for the session. Paradime revokes the token when the session ends.
  • The agent commits through the GitLab API, never with git push. Its commits go only to its own branch, paradime/<session id>. It cannot commit to main or to any other branch. The session’s local commits reach GitLab as one commit.
  • GitLab push rules, such as Reject unsigned commits, do not block the agent, because GitLab accepts commits made through its API. If your GitLab instance has web-based commit signing turned on, GitLab signs the agent’s commits.
  • The commits are made as the person who started the session, if they linked their GitLab account. Otherwise, for example in scheduled and self-healing sessions, they are made as the Paradime bot. Each commit names DinoAI as a co-author.
  • When the agent opens a merge request, GitLab shows the same author: the person who started the session, or the Paradime bot. The agent never sees the person’s token.
  • The agent can read the project and its merge requests, open a merge request from its own branch, and comment on that merge request. It cannot approve, merge, or edit merge requests, or change project settings.
  • One commit can change up to 200 files. The agent cannot commit symlinks or submodules, and Git LFS files and very large files do not fit the GitLab API.

When the connection cannot reach the project

The Git Repository page tells you when a workspace loses its GitLab connection:

Connect with a deploy key

You can also connect a GitLab project with an SSH deploy key. If the project is also on a GitLab connection, Turbo CI, on-merge runs, and Lineage Diff still work with no pipeline. If it is not, they need a GitLab pipeline.
With a deploy key, use the git@... or ssh://... version of your Git URL, not the https://... version.
Create a service account user in GitLab, for example paradime.gitlab.maintainer@yourcompany.com, with write access to the project, and let this user own the deploy key.
  1. In Paradime, import your repository with its SSH URL to generate a deploy key. See Importing a repository.
  2. In GitLab, open your project’s Settings > Repository.
  3. Expand Deploy keys and paste the deploy key from Paradime.
  4. Select Grant write permissions to this key, then save the key.
Configuring a GitLab deploy key
For more detail, see GitLab’s guide on deploy keys.