GitLab
Add Git connection
To add GitLab personal Git token in Brainboard, you first need to generate it in your GitLab account.
Steps to generate a personal Git token on your GitLab account.
-
Go to your GitLab personal tokens page.
-
Add a name and specify
APIrights, then click onCreate personal access tokenbutton: (1).png)
-
The token is generated, you can copy it to add to Brainboard:
 (1) (1).png)
To add the generated token in Brainboard:
-
Go to the Git integration settings page.
-
Click on
Integrations -
In the section
Personal connectionsClick onAdd connection -
Select
GitLabtab
-
Add your credentials in the displayed window:
- Name of the token. This is only for Brainboard, it will not be used when you do a pull request.
- The URL of your GitLab server: by default Brainboard uses
https://gitlab.com, but if you have a private Gitlab instance accessible through the internet or if you use a single-tenant Brainboard offering, you can specify a different URL.
-
Then click on
Save and closebutton. -
Brainboard will verify if the credentials are valid:
-
If they are valid, Brainboard displays a success message and you can see the integration now in the Git connection page

-
If they are not, you'll receive an error about what is wrong. For example:


-
How to use
Please refer to the page pull-requests.md to understand how you can use your git connections whether you want to do a pull request and import your code from Git.
Edit or delete connection
- Go to the Git integration settings page.
- Click on
Integrations - In the section
Personal connectionsClick onGitLabintegration that you want to edit or delete - Select the action you want to perform from the view
