Bitbucket Integration Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
BalkanID recommends creating a separate service account for the purposes of this integration, instead of using personal or employee named accounts.
Two extra configuration fields were introduced recently namely,Bitbucket App Password
and Bitbucket Account Username
, which utilizes v1 APIs and requires different credentials, steps have been mentioned below.
Workspace access token needs new additional scopes namely, Projects > Admin, and Repositories > Admin.
Since these are breaking changes to the integration, you would need to delete the current Bitbucket integration and add a new app Integration for Bitbucket.
Bitbucket Access token of Workspace (Organization)
Bitbucket API Url (example: “”)
Username of Workspace ID (example: “myworkspace”)
Bitbucket Account Username (example: "janesmith")
BitBucket App Password
On the Bitbucket Workspace Page, navigate to Settings.
Go To Access Tokens.
Click on Create Workspace Access Token.
Give the following Perms Accounts > Read
,Repositories > Read
and Projects > Read
.
Copy the Workspace Access Token.
Store the generated Access Token securely.
Go to the Workspace settings.
Copy the Workspace ID.
Store the Workspace ID in a secure location.
Click on Create App Password and give the respective permissions
Copy the App Password somewhere securely
Paste the URL in the following manner within your integration configuration: https://api.bitbucket.org
, where [bitbucket.org](<http://bitbucket.org>)
will be replaced with the URL of your Bitbucket instance
Login to the BalkanID application and switch to the tenant you would like to add your integration to.
Head to Integrations > Third Party Applications and click Add Integration, select Bitbucket. Set up the Primary Application owner and the Description, if any.
Bitbucket would have been added to the list of applications. Click on the Configure and Integrate button beside the integration name, and configure the fields with the values that were noted prior. It should look like this:
Once you filled in the information, click Save changes. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the Integrations page. Integrations are synced daily. When data is available, the integration Status column will read Connected and the integration Message will read Data available.
This is your account username, You can go to and copy your username under Bitbucket Profile Settings
Go to or Settings > Bitbucket Personal Settings > Access Management > App Password
anujpariharBalkan