Knowledge

How to integrate Buddy Enterprise with GitLab

Integrating with GitLab will allow you to use it as a Git hosting provider in your Buddy projects.

Register GitLab OAuth app

  1. Log in to your Buddy Enterprise workspace as admin and add a new project.
  2. Select GitLab as the provider.
  3. Click Configure Cloud and copy the Callback URL line.

    Configuring GitLab integration #1
    Configuring GitLab integration #1
  4. Go to https://gitlab.com/profile/applications.
  5. Fill in the application details:

    • Name → anything, eg. Buddy Enterprise
    • Redirect URI → paste the redirect URI that you've copied from Buddy Enterprise

    Click Save application to save changes.

  6. Copy Application Id and Secret

Configure GitLab app in Buddy

  1. Log back to your Buddy Enterprise workspace as admin.
  2. Go to the workspace Preferences and switch to the Applications tab.
  3. Click Configure under the GitLab logo and paste the Id and Secret.
  4. Set up the Webhook address. The webhook is an URL to which GitLab will send information on changes in the repositories. The address must be available from the outside: if your installation is assigned to an internal IP (eg. 192.168.x.x), make sure to paste your external IP to that field and redirect the oncoming traffic on your router to the address of your Buddy Enterprise instance.
  5. Click Save changes and restart the machine to apply the new settings.

    Configuring GitLab integration #2
    Configuring GitLab integration #2

Get started now

14 days of unlimited trial. No credit card required.