Elementary home page
Ask me anything...
⌘K
Ask AI
Github
Try Elementary Cloud
Try Elementary Cloud
Search...
Navigation
Code repository integration
Gitlab
Documentation
Data tests
Elementary Cloud
Elementary OSS
Community
Demo
Elementary Cloud
Introduction
Quickstart
Security and privacy
Guides
Send Slack alerts
Environment syncs schedule
Collect jobs data
dbt source freshness
Troubleshooting
BI tools integration
BI integration
Looker
Tableau
Code repository integration
Code integration
Github
Gitlab
Data warehouses
Snowflake
Bigquery
Redshift
Databricks
Postgres
Athena
On this page
Create a Gitlab project token
Connect Gitlab to Elementary
Code repository integration
Gitlab
Elementary connects to the code repository where your dbt project code is managed, and opens PRs with configuration changes.
Create a Gitlab project token
You need to create a
project access token
(token for a specific repository) with by following these steps:
On the left sidebar, at the top, select
Search GitLab
to find the dbt project repo.
Select
Settings > Access Tokens
.
Enter a name and expiry date for the token (default is 1 year).
Select the role
Maintainer
for the token.
Select the following scopes:
api
,
read_api
,
read_repository
,
write_repository
.
Select
Create project access token
.
Connect Gitlab to Elementary
Navigate to the
Account settings > Environments
and choose the environment to which you would like to connect the dbt project code repository. Select
Connect code repository
, and under Gitlab enter the generated token and repo full name:
Gitlab connection to Elementary
Suggest edits
Raise issue
Github
Snowflake
Assistant
Responses are generated using AI and may contain mistakes.