Create a Project Access Token

Project Access Tokens are a premium feature. To learn about the Bitbucket Cloud Premium plan, visit: Bitbucket Cloud Premium.

Project Access Tokens are single-purpose access tokens (or passwords) with access to a single project with limited permissions (specified at creation time). Use tokens for tasks such as scripting, CI/CD tools, and testing Bitbucket integrations or Marketplace apps while in development.

To create a Project Access Token:

  1. At bitbucket.org, navigate to the target project for the Access Token. This project is the only one that the Project Access Token can access.

  2. On the sidebar, select Project settings.

  3. On the sidebar, under Security, select Access tokens.

  4. Select Create Project Access Token.

  5. Give the Project Access Token a name, usually related to the app or task that will use the token.

  6. Select the permissions the Project Access Token needs. For detailed descriptions of each permission, see Project Access Token permissions.

  7. Select the Create button. The page will display the Project Access Token created dialog.

  8. Copy the generated token and either record or paste it into the app that requires access. The token is only displayed once and can't be retrieved later. Rather than recovering or reusing a Project Access Token, create a new token and consider revoking the old token.

Additional Help