---
updatedAt: 2025-08-27T17:14:00.000Z
agentTools:
  projectIndex: https://documentation.bunnyshell.com/llms.txt
---

# 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](https://files.readme.io/8130813-Private_Gitlab_1.png "Private Gitlab 1.png")

3. On the left-side menu, select **Applications**.

![3426](https://files.readme.io/6990709-Private_Gitlab_2.png "Private Gitlab 2.png")

4. Provide a name for your application.

5. In the **Redirect URL** field, type the following: `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 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**.

4. Finally, click **Connect**. Your private Gitlab repository is now connected to Bunnyshell.