Bitbucket Data Center
Where to start?
Follow the Context Engine setup guide to complete the initial configuration.
If you are using Bitbucket Data Center for version control, continue with this guide for the next steps.
Limitations
Individual repository selection is not supported. The Context Engine will index all repositories visible to the token. To limit scope, create a token tied to a workspace or user with restricted access.
Webhooks and marketplace apps are not used. Bitbucket Cloud integration is token-only. No webhooks or Atlassian Connect app setup is required.
Step 1: Generate an Access Token
The Context Engine supports two types of authentication for Bitbucket Cloud:
Workspace Access Token (Recommended)
Personal App Password (Alternative)
Both must use read-only scopes.
Option 1: Workspace Access Token (Recommended)
Prerequisite: You must be a Workspace Administrator.
Steps:
In Bitbucket, go to: Workspace settings ▸ Access management ▸ Access tokens
Click Create access token
Fill out the form:
Name: e.g.,
qodo-awarePermissions:
Repositories:
ReadProjects:
ReadPull requests:
Read
Click Create, then copy the token immediately. It will only be shown once.
Option 2: Personal App Password (Alternative)
Click your avatar ▸ Personal settings ▸ App passwords
Click Create app password
Set a name like
qodo-awareEnable the following read-only scopes:
Repositories:
ReadProjects:
ReadPull requests:
Read
Generate the password and copy it immediately. It will not be shown again.
Step 2: Configure the Context Engine
In your .secrets.toml file, add the following section. Do not duplicate existing provider blocks.
Notes:
Only one token per line.
You may mix workspace and personal tokens if needed.
Avoid duplicating the
[bitbucket_cloud]section.
Last updated