Skip to main content
Looking for docs on Bitbucket Cloud? See this doc.
If you’re not familiar with Sourcebot connections, please read that overview first.

Examples

Authenticating with Bitbucket Data Center

In order to index private repositories, you’ll need to provide an access token to Sourcebot. Create an access token for the desired scope (repo, project, or workspace). Visit the official Bitbucket Data Center docs for more info. Next, provide the access token to Sourcebot:
  1. Add the token property to your connection config:
  1. Pass this environment variable each time you run Sourcebot:

Schema reference

schemas/v3/bitbucket.json