This page covers on-prem (self-hosted) setup. You create your own Bitbucket
OAuth consumer so authentication runs against your workspace. For the hosted
SaaS integration, see Setup → Bitbucket.
Create the Bitbucket OAuth consumer
1
Open OAuth consumers
In Bitbucket, go to Workspace settings → OAuth consumers and click
Add consumer.
2
Fill in the details
3
Select permissions
Grant the following permissions:
4
Save the consumer
Click Save. Expand the consumer to view its Key and Secret.

