Skip to main content

Connect with BitBucket Cloud

Bitbucket Cloud is a cloud-based platform for managing Git repositories. It's part of the Atlassian suite and is widely used for version control, collaboration, and DevOps workflows.

This topic describes the settings and permissions for the Bitbucket integration. Harness supports both Cloud and Data Center (On-Prem) versions of Bitbucket. The following settings are applicable to Bitbucket Cloud.

Requirements

The following permissions and settings are required to use the SEI Bitbucket integration:

  • You have a Bitbucket account.
  • Your role is Member or higher.
info

If you have enabled an allow list in your Bitbucket account, certain Harness IP addresses must be added to it in order to allow communication between the Harness Platform and Bitbucket. If the necessary IPs are not whitelisted, the integration may fail to authenticate or sync data properly.

To ensure your integration can work correctly, please refer to the list of Harness Platform IPs that may need to be whitelisted in your firewall.

Add the integration

  1. In your Harness Project, select the SEI Module, and go to your Account.
  2. Select Integrations under Data Settings.
  3. Select Available Integrations, and locate the Bitbucket integration, and select Install

  1. Select the type of your Bitbucket account as Cloud.

  1. Choose the authentication type for the integration. You can either use OAuth or App Passwords to set up the authentication with the Bitbucket platform.

Choose Using OAuth as the authentication medium. OAuth simplifies the process by allowing you to log in directly to Bitbucket and grant access permissions without sharing tokens or passwords.

  • You’ll be redirected to Bitbucket, where you can grant permissions for the integration. Bitbucket will confirm authorization, returning you to the integration setup page.
  • Enter a Name for the integration.
  • The Description and Tags are optional.
  • Click on Save to save the integration.

See also