Self-hosted GitLab

Configuring a Gitlab application

Before connecting your private Gitlab instance, 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.

3434
  1. On the left-side menu, select Applications.
3426
  1. Provide a name for your application.

  2. In the Redirect URL field, type the following: https://environments.bunnyshell.com/gitlab-response

  3. Make sure the box next to Confidential is checked.

  4. Select the following Scopes:

    • api
    • read_api
    • read_user
    • read_repository
    • write_repository
    • read_registry
    • openid
    • profile
    • email
  5. Click Save Application. You are then redirected to a screen where the details of the application are shown.

  6. Copy the Application ID and the Secret displayed. You will need them when accessing the Bunnyshell interface.

Connecting your private Gitlab 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 URL of your application.
  • In the Client ID field type the Application ID.
  • In the Client Secret field type the Secret.
  1. Finally, click Connect. Your private Gitlab repository is now connected to Bunnyshell.