Linking code from Bitbucket Cloud
Examples
Authenticating with Bitbucket Cloud
In order to index private repositories, you’ll need to provide authentication credentials. You can do this using an App Password
or an Access Token
Navigate to the app password creation page and create an app password. Ensure that it has the proper permissions for the scope of info you want to fetch (i.e. workspace, project, and/or repo level)
Next, provide your username + app password pair to Sourcebot:
- Add the
token
anduser
(username associated with the app password you created) properties to your connection config:
- Pass this environment variable each time you run Sourcebot:
- Add the
token
anduser
(username associated with the app password you created) properties to your connection config:
- Pass this environment variable each time you run Sourcebot:
- Navigate to Secrets in settings and create a new secret with your access token:
- Add the
token
anduser
(username associated with the app password you created) properties to your connection config:
Navigate to the app password creation page and create an app password. Ensure that it has the proper permissions for the scope of info you want to fetch (i.e. workspace, project, and/or repo level)
Next, provide your username + app password pair to Sourcebot:
- Add the
token
anduser
(username associated with the app password you created) properties to your connection config:
- Pass this environment variable each time you run Sourcebot:
- Add the
token
anduser
(username associated with the app password you created) properties to your connection config:
- Pass this environment variable each time you run Sourcebot:
- Navigate to Secrets in settings and create a new secret with your access token:
- Add the
token
anduser
(username associated with the app password you created) properties to your connection config:
Create an access token for the desired scope (repo, project, or workspace). Visit the official Bitbucket Cloud docs for more info.
Next, provide the access token to Sourcebot:
- Add the
token
property to your connection config:
- Pass this environment variable each time you run Sourcebot:
- Add the
token
property to your connection config:
- Pass this environment variable each time you run Sourcebot:
- Navigate to Secrets in settings and create a new secret with your PAT:
- Add the
token
property to your connection config: