Skip to main content
< All Topics

How to generate an API token in Bitbucket to access your private repos

To access your private repositories hosted on Bitbucket, you need to create a scoped API token.

  1. Go to: https://id.atlassian.com/manage-profile/security/api-tokens
  2. Click on “Create API token with scopes”
  1. Put any name and set an expiration date for the token:
  1. Choose “Bitbucket” and click next:
  1. Now select the scope called “read:repository:bitbucket”, which will allow the key to read repositories.
  1. Now, on the final screen, click “Create token”, and use that token when you install a theme/plugin in Deployer for Git.