Skip to main content

Git Integrations

Git integration enables your users to deploy applications using Bitbucket, GitHub, or GitLab repositories. This documentation guides you through the setup process for each provider, so you can easily integrate them into your whitelabel panel.

Github Integration

Step 1: Obtain Client ID and Client Secret

  1. Log in to your GitHub account.
  2. Navigate to Settings > Developer settings > OAuth Apps. The following link will take you to that page: https://github.com/settings/developers.
  3. Click on Register a new application to create a new application. Create Oauth Application
  4. Fill in the required details such as Application name, Homepage URL, Authorization callback URL (Redirect URL provided in the whitelabel panel's Github integration form), etc and click on Register application.
info

In the OAuth App settings on GitHub, ensure the Authorization callback URL matches the Redirect URL provided in the whitelabel panel's Github integration form. Copy Redirect Url

Fill in Details 5. Generate a Client Secret.

Create Client Secret 6. Upon creation, note down the Client ID and Client Secret generated for your application.

Copy Credentials

Step 2: Save Configuration

Enter generated Client ID and Client Secret and click on Save Settings button.

Save Credentials

Bitbucket Integration

Step 1: Obtain Client ID and Client Secret

  1. Log in to your Bitbucket account.
  2. Go to Settings > OAuth consumers and Click on Add consumer to create a new OAuth consumer.

Go to Settings Add oauth consumer

  1. Provide details like Name, Description, Callback URL (Redirect URL provided in the whitelabel panel's Bitbucket integration form), etc.
info

In the OAuth App settings on Bitbucket, ensure the Callback URL matches the Redirect URL provided in the whitelabel panel's Bitbucket integration form. Copy Redirect Url

caution

Please ensure that you select the permission indicated in the image below.

Fill in Details

  1. After creation, copy the Client ID and Client Secret generated for your OAuth consumer.

Copy Credentials

Step 2: Save Configuration

Enter generated Client ID and Client Secret and click on Save Settings button.

Save Credentials

Gitlab Integration

Step 1: Obtain Client ID and Client Secret

  1. Log in to your Gitlab account.
  2. Navigate to User settings > Applications and click on Add new application.

Go to Settings

  1. Fill in the required details like Name, Redirect URI (Redirect URL provided in the whitelabel panel's Gitlab integration form), Scopes, etc.
info

In the OAuth App settings on Gitlab, ensure the Callback URL matches the Redirect URL provided in the whitelabel panel's Gitlab integration form. Copy Redirect Url

caution

Please ensure that you select the scopes indicated in the image below.

Fill in Details

  1. Upon creation, copy the Application ID and Secret Key for your OAuth application.

Copy Credentials

Step 2: Save Configuration

Enter generated Client ID and Client Secret and click on Save Settings button.

Save Credentials

Update Git Provider's Credentials

After completing the entire setup process for your whitelabel panel, you'll display the whitelabel dropdown menu in the sidebar.

Navigate to Whitelabel > Git.

Update Credentials

From this page, you can update your credentials.

caution

If you change your Git provider's credentials, the existing Git provider integrations for your users will not work.