Before connecting your private Gitlab, make sure you have an application configured. if you haven't yet configured one, you can do it now by following the steps described below.
1. Access your Gitlab account.
2. Click on your profile icon in the upper-right corner and select Preferences.
3. On the left-side menu, select Applications.
4. Provide a name for your application.
5. In the Redirect URL field, type thefollowing: https://environments.bunnyshell.com/gitlab-response
6. Make sure the box next to Confidential is checked.
7. Select the following Scopes:
api
read_api
read_user
read_repository
write_repository
read_registry
openid
profile
email
8. Click Save Application. You are then redirected to a screen where the details of the application are shown.
9. Copy the Application ID and the Secret displayed. You will need them when accessing the Bunnyshell interface.
Connecting your private repository to Bunnyshell
After creating the application, go to Bunnyshell and log into your account.
1. Click Integrations
on the left-side menu.
2. Select Git integrations.
3. Click Connect git account and select Private Gitlab. In the new screen, provide the following credentials:
In the OAuth Login URL field type the URLof your application.
In the Client ID field type the Application ID.
In the Client Secret field type the Secret.
4. Finally, click Connect. Your private Gitlab repository is now connected to Bunnyshell.