Skip to main content

SEI Bitbucket enterprise integration

Bitbucket is a web-based version control repository hosting service, for source code and development projects that use either Mercurial or Git revision control systems.

Use the SEI Bitbucket integration to integrate SEI with Bitbucket Cloud or Bitbucket Enterprise.


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

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

Configure the integration

  1. In your Harness project, go to the SEI module, and select Account.
  2. Select Integrations under Settings.
  3. Select Available Integrations, and locate the Bitbucket Enterprise integration, and select Install
  4. Select Install.
  5. Configure and Save the integration.
    • Provide a Name for the integration.
    • The Description and Tags are optional.
    • Enter the URL for the Bitbucket Private Instance in the format<TEAMNAME_OR_USERNAME>/<REPOSITORY_NAME>/src
    • Enter your Username
    • Enter the Bitbucket API Key. To generate an API key for your Bitbucket instance, go to Managing API tokens for Bitbucket.
    • Enter Tags and the List of repositories you want to ingest. You can leave this option blank if you want to ingest all the repositories from organizations accessible to the token user.
    • You can select the Filters to define the type of data you want to ingest. The available options are Fetch Commits, Fetch PRs, Fetch PRs Reviews, Fetch Commits Fields.
    • Download the satellite.yml file and update it following the instructions here.

If you encounter any issues during the integration process, go to the Satellite integration Troubleshooting and FAQs.

Here’s a sample satellite.yaml file generated for the Bitbucket enterprise integration:

tenant: <ACCOUNT_ID>
api_key: <ACCOUNT_API_KEY>
url: '' # Note that this URL is relative to the environment you are using.
application: bitbucket_server
fetch_prs: true
fetch_pr_reviews: true
fetch_commits: true
fetch_commit_files: true
satellite: true