Articles in this section

Set up a connection to GitLab

GitLab is a robust web-based platform that provides end-to-end DevOps lifecycle management with features for source code repositories, continuous integration, and collaboration. It enables development teams to efficiently plan, develop, test, and deploy software projects in a unified and integrated environment.

Set up a connection

After you start the connection, configure it in the Create connection panel and complete all of the required * authentication settings: 

Setting Instructions
Name your connection * Enter a clear and distinguishable name.
Throughout integrator.io imports and exports, you will have the option to choose this new connection. A unique identifier will prove helpful later when selecting it from a list of the connections in your account.
Auth type *

Select your GitLab account authentication type (either OAuth 2.0 or Token).

Auth type: OAuth 2.0

OAuth 2.0
client *

Select the OAuth 2.0 client that stores the client ID and client secret provided to you by GitLab. 
Fetch data How to retrieve the client ID and client secret

To add an OAuth 2.0 client and configure your credentials, click the plus (+) button. Click the edit ( ) button to modify a selected OAuth 2.0 client. For more information, see Create an OAuth 2.0 iClient resource.

Grant type *

Select the OAuth 2.0 grant type:

  • Password credentials: if the authorization scopes are limited to protected resources that are under the control of the client or previously configured on the authorization server
  • Authorization code: uses an authorization server to obtain authorization code that acts intermediary between the client and resource owner
Username *

Enter your GitLab account username.

Fetch data How to retrieve the username

Password *

Enter your GitLab account password.
Multiple layers of protection, including AES 256 encryption, are in place to keep your password safe. When editing this connection, you must re-enter this value each time; it is stored only when the connection is saved and never displayed as text.

Auth type: Token

Token *

Enter your GitLab token.
Multiple layers of protection, including AES 256 encryption, are in place to keep your token safe. When editing this connection, you must re-enter this value each time; it is stored only when the connection is saved and never displayed as text.
Fetch data How to retrieve token

Tip: This connector documentation describes only the settings shown for the Basic auth view. For the corresponding HTTP settings, see OAuth 2.0 universal connector documentation.

  1. Sign in to your GitLab account. 
  2. Navigate to Avatar > Edit profile > User settings > Applications.

  3. Click Add new application.
  4. Enter a Name and integrator.io Redirect URL.
  5. Choose the Scopes.
  6. Click Save application.
  7. Copy the Application ID (Client ID).
  8. Click View and copy the Secret (Client secret).
  9. Click your Avatar.
  10. Copy the Username which is below the full name.
  1. Sign in to your GitLab account. 
  2. Navigate to Avatar > Edit profile > User settings > Access tokens.
  3. Click Add new token.
  4. Enter a Token name and select Expiration date.
  5. Choose the Scopes.
  6. Click Create personal access token.
  7. Click View and copy the Token.

Additional references

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.