1. Log in to the Qodo portal
Before setting up Qodo, make sure you have created a Qodo account and signed in.2. Set up Qodo on BitBucket
After signing in to your Qodo account, follow the steps below to set up Qodo on Bitbucket.Bitbucket App
This installation method is available to subscribed users only. Visit Qodo’s Subscription Plans page to learn more.- Go to the Qodo Git plugin Pro app page.
- Choose which workspace Qodo should have access to, then click Grant access.
Bitbucket Server
Contact Qodo to use Qodo Git interface on your private Bitbucket Server.
Bitbucket Pipeline
Pull request comments are not supported when using Bitbucket Pipelines.
Select your authentication type:
bearer= just a token (more secure, no username/password exposure).basic= username + password (or app password) combined and encoded.
Create a token:
Based on your authentication type, create a token.
- If your authentication type is
bearer, generate an access token for your Bitbucket repository:- Go to your repository’s settings.
- Select Security then Access Tokens.
- Generate an access token and save it somewhere safe.
- If your authentication type is
basic, generate abase64encoded token from yourusername:passwordcombination and save it somewhere safe.
Add secure variables:
a. Go to your repository’s settings.
b. Select Pipelines.
c. Under Repository variables, add the following variables:
b. Select Pipelines.
c. Under Repository variables, add the following variables:
- OPENAI_API_KEY:
<your key> - BITBUCKET.AUTH_TYPE:
basicorbearer(default isbearer) - BITBUCKET__BEARER_TOKEN or BITBUCKET.BASIC_TOKEN:
<your token>(obtained from step 3)
Visit Using Qodo in PRs to learn about next steps and how to get the most out of Qodo.