Skip to main content
Tembo connects to Bitbucket through an OAuth consumer you create in your Bitbucket workspace.

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:write and webhook.
Copy the consumer’s key and secret.

Step 2: Give Tembo the credentials

Store them in a Secret, with a random webhook secret of your own:
Add it to configSecrets in your values, keeping any existing entries, and apply the change:

Step 3: Connect Bitbucket

  1. In Tembo, open Settings > Integrations and install Bitbucket.
  2. Authorize the consumer with an account that can access your workspace’s repositories.
  3. Start a session on a repository, and check that it can open a pull request.
Bitbucket delivers webhooks to 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.

Need Help?

If you run into any issues, contact support@tembo.io.