Integrating your Bitbucket Data Center (formerly Bitbucket Server) instance with DeepSource requires creating a custom incoming Application link to facilitate OAuth 2.0. This document outlines the configuration, permission requirements, and app configuration to get started with your Bitbucket Data Center instance and DeepSource Enterprise.
SYSTEM_ADMIN
permission on the Bitbucket Data Center instance to be able to create an Application Link.https://bitbucket.stark.com
, then this settings page will be located at https://bitbucket.stark.com/plugins/servlet/applinks/listApplicationLinks
.
ORGANIZATION_NAME
with the name of your organization, and HOSTNAME
with the actual hostname on which DeepSource Enterprise instance is deployed.Field | Value | Example | |
---|---|---|---|
Name | DeepSource ORGANIZATION_NAME | DeepSource Stark International | |
Redirect URL | https://HOSTNAME /accounts/bitbucket_datacenter_oauth2/login/callback/bifrost | https://deepsource.stark.com/accounts/bitbucket_datacenter_oauth2/login/callback/bifrost/ | |
Application permissions | Check the ADMIN box under PROJECTS | ![]() |
Client ID
and Client Secret
. Enter these values in the DeepSource Enterprise admin console.