How to integrate with GitLab
To access GitLab integration:
- Click your avatar in the bottom left and select Integrations from the menu.
- Find GitLab in Development Tools and click to enter the Gitlab integration page.
note
Both integrating GitLab permissions in Leiga and managing repository permissions in GitLab are required.
Choose the method to integrate Leiga with Gitlab according to the version of Gitlab you are using.
- Use Gitlab.com
- Use Gitlab Hosted
-
Select Log into Gitlab and authorize and click on the Connect button.
-
Enter your Gitlab account and password to authorize.
-
Click Settings in the drop-down menu in the upper right corner in your hosted Gitlab.
-
Click the access token in the menu bar on the left side of the settings.
-
Select API and read_user in the Scope field.
-
Create a new access token, making sure to leave the Expiration Time field blank.
-
Copy the personal access token to Leiga, and click the Connect button at the bottom.