GitLab Setup Guide Lite
Follow our setup guide to connect GitLab to Fivetran.
Prerequisites
To connect GitLab to Fivetran, you need:
a GitLab account.
We recommend using an Admin account to authorize Fivetran's access to sync all your GitLab tables.
(Optional) a Personal access token if you don't want to use OAuth2 authentication.
For the personal access token, set the expiry date to 365 days and select the
apiscope.(Optional - if you are using a self-hosted instance) a Custom base URL and mTLS certificates.
Setup instructions
In the connection setup form, enter your Destination schema name.
In the Authentication drop-down menu, select one of the following authentication methods:
OAuth 2.0: Click Authorize to allow Fivetran to access your GitLab account using OAuth. You will be redirected to your GitLab account to authorize Fivetran's access. Log in to your GitLab account using an Admin account. Once you have finished, you will be redirected back to Fivetran.
We recommend logging in in Incognito mode to ensure you are authorized to the correct account.
Personal Access Token: Enter your Personal Access Token.
In the Base URL drop-down menu, select your base URL type:
Select Default if your base URL is
gitlab.com.Enter the Custom Base URL of your self-hosted instance.
If your base URL is
https://gitlab.example.com, then entergitlab.example.comas the base URL.
(Optional) To connect with your self-hosted instance, set the Enable mTLS Connection toggle to ON.
Client Certificate (PEM): Enter your client certificate content that begins with
-----BEGIN CERTIFICATE-----.Client Private Key (PEM): Enter your client private key content that begins with
-----BEGIN PRIVATE KEY-----.
(Hybrid Deployment only) If your destination is configured for Hybrid Deployment, the Hybrid Deployment Agent associated with your destination is pre-selected for the connection. To assign a different agent, click Replace agent, select the agent you want to use, and click Use Agent.
Click Save & Test. Fivetran will take it from here and sync your GitLab data.