Connect with BitBucket Cloud
Integrate SEI 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 page 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.
Add the integration
In your Harness Project, select the SEI Module, and go to your Account.
Select Integrations under Data Settings.
Select Available Integrations, and locate the Bitbucket integration, and select Install.
Select the type of your Bitbucket account as Cloud.
Choose the authentication type for the integration. You can either use OAuth or App Passwords to set up the authentication with the Bitbucket platform.
Click Using OAuth to log in directly to Bitbucket and grant access permissions without sharing tokens or passwords. Bitbucket will confirm authorization, returning you to the integration setup page.
Enter a Name for the integration.
Optionally, add a Description and Tags.
Click Save to save the integration.
If your Bitbucket account is tied to a Google login or uses two-factor authentication, you'll need to set up an App Password instead of OAuth.
Steps to Generate an App Password in Bitbucket
Sign in to Bitbucket Cloud and log in to your account.
Navigate to Account Settings:
Click on your profile picture in the bottom left corner.
Select Personal settings.
In the left-hand menu, click App passwords under the Access management section.
Click the Create app password button.
Configure App Password:
Enter a label for your new app password. This helps you remember what it's used for.
Select the following permissions required.
Copy the generated app password and save it securely. (Note that you won't be able to see it again.)
Steps to Complete the Integration Setup in Harness
In Harness, go to your integration configuration and click on Next.
Enter a Name for the integration.
The Description and Tags are optional.
Provide the Username and Password (App Password) you generated in Bitbucket.
Click Validate Connection to run pre-flight checks and confirm the connection. Once validated, your Bitbucket integration will appear under Your Integrations.
See also
Last updated
Was this helpful?