Enable Bitbucket Integration
Get Started
The Nx Cloud + Bitbucket Integration lets you access the result of every run—with all its logs and build insights—straight from your PR.
Allow NxCloud to authenticate to your BitBucket repository
Using an App Password
If you are using BitBucket Cloud (bitbucket.org) and are not self-hosting it, you can enable an "app password" for authentication.
The minimum required permissions are write access to PRs:
Once the app password is created, save it in a secure location and then head back to your workspace settings on NxCloud and let's set up a BitBucket integration:
- Fill-in all the required fields for selecting your Bitbucket repository
- Username is found on the account settings screen (it is not your email address)
- Paste your app password created earlier into the Access Token box
- That's it!
Using an HTTP Access Tokens
If you are using BitBucket Data Center (on-prem) you need to enable "HTTP Access Tokens" for authentication.
User linked access tokensDue to the type of APIs NxCloud needs to call, we need to create an access at the user level. Repo level access tokens will not work.
The minimum required permissions are write access to the repository:
Once the token is created, save it in a secure location and then head back to your workspace settings on NxCloud and let's set up a BitBucket integration:
- Fill-in all the required fields for selecting your Bitbucket repository
- Username is found on the account settings screen (it is not your email address)
- Paste your access token created earlier into the Access Token box
- Make sure you give NxCloud the URL of your BitBucket instance (this can be in the simple form of
https://your-bitbucket-instance.com
) - That's it!