Bitbucket Integration Setup

Getting Started

BalkanID recommends creating a separate service account for the purposes of this integration, instead of using personal or employee named accounts.

Requirements:

  • Bitbucket Access token of Workspace (Organization)

  • Bitbucket API Url (example: “https://api.bucket.org”)

  • Username of Workspace ID (example: “myworkspace”)

  • Bitbucket Account Username (example: "janesmith")

  • BitBucket App Password

Get Access Token of Workspace

  1. On the Bitbucket Workspace Page, navigate to Settings.

  2. Go To Access Tokens.

  3. Click on Create Workspace Access Token.

  4. Give the following Perms Accounts > Read,Repositories > Read and Projects > Read.

  5. Copy the Workspace Access Token.

  6. Store the generated Access Token securely.

Get Workspace ID

  1. Go to the Workspace settings.

  2. Copy the Workspace ID.

  3. Store the Workspace ID in a secure location.

Get Bitbucket Account Username

  1. This is your account username, You can go to https://bitbucket.org/account/settings/ and copy your username under Bitbucket Profile Settings

Get Bitbucket Account App Password

  1. Go to https://bitbucket.org/account/settings/app-passwords/ or Settings > Bitbucket Personal Settings > Access Management > App Password

  2. Click on Create App Password and give the respective permissions.

  3. Copy the App Password somewhere securely

Get Bitbucket URL

To configure your integration, paste the URL in the following format: https://api.your_bitbucket_domain.org.

Simply replace your_bitbucket_domain.org with the actual domain URL of your Bitbucket instance as shown in the image.

Configure Bitbucket within your BalkanID tenant

  1. Login to the BalkanID application and switch to the tenant you would like to add your integration to.

  2. Head to Integrations > Add Integration, select Bitbucket.

  3. Set up the Primary Application owner (mandatory) and the Description, if any. Set up Secondary Application Owner(s), if any.

    Select the Extraction Type. From here, you can configure your application using one of the following methods:

    1. Direct integration - Provide your Bitbucket Access Token, URL, Workspace, Account Username and Account App Password obtained above to set up a direct connection with BalkanID.

    2. SCIM integration - Provide SCIM server credentials to set up a SCIM connection with BalkanID.

    3. Manual file upload - Upload Entity and Entity Relations through a .CSV file upload. Contact the team for assistance with this.

    4. Automated upload using API - You can upload data using our Bulk APIs with the help of an API key which will be provided to you. Please refer to the entity and entity relation upload docs for specific instructions on uploading your data through the API.

  4. Click on next to move onto Optional Configuration.

  5. Fill Optional configuration, if required.

  6. Once you filled in the information, click Save. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the Integrations page. When data is available, the integration Status column will read Connected and the integration Message will read Data available.

Last updated

Was this helpful?