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)
Option 1: Workspace access token (recommended)
Prerequisite: You must be a Workspace Administrator. Steps:Fill out the form:
-
Name: e.g.,
qodo-aware -
Permissions:
-
Repositories:
Read -
Projects:
Read -
Pull requests:
Read
-
Repositories:
Option 2: Personal app password (alternative)
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.