Step 1: Create an OAuth consumer
In your Bitbucket workspace settings, create an OAuth consumer:- Callback URL:
https://<your-host>/api/oauth/bitbucket/callback - Permissions: covering the scopes Tembo requests,
account,repository,pullrequest:writeandwebhook.
Step 2: Give Tembo the credentials
Store them in a Secret, with a random webhook secret of your own:configSecrets in your values, keeping any existing entries, and apply the change:
Step 3: Connect Bitbucket
- In Tembo, open Settings > Integrations and install Bitbucket.
- Authorize the consumer with an account that can access your workspace’s repositories.
- Start a session on a repository, and check that it can open a pull request.
https://<your-host>/api/webhook/bitbucket, or your public API host. If repository actions fail after installing, check both the consumer’s permissions and the authorizing user’s access.
See the Bitbucket guide for using it.