---
title: "How do I create a Repository Access Token for Bitbucket?"
description: "A guide on how to create such a token can be found here. The same authentication method is used to fetch the Git repository (for SOUP dependency analysis) as well."
category: "Frequently Asked Questions"
section: "General"
keywords: ["token bitbucket", "repository access", "bitbucket repository", "access token", "authentication", "requests entering", "needs permissions", "bitbucket guide"]
source_url: "https://support.ketryx.com/hc/en-us/articles/21752061838221-How-do-I-create-a-Repository-Access-Token-for-Bitbucket"
last_reviewed: 2026-06-11
---

# How do I create a Repository Access Token for Bitbucket?

A guide on how to create such a token can be found [here](https://support.atlassian.com/bitbucket-cloud/docs/create-a-repository-access-token/).

The same authentication method is used to fetch the Git repository (for SOUP dependency analysis) as well.

The repository access token needs to have at least the following permissions:

- Repository: `Read`

- Pull requests: `Read`

When entering the authentication credentials in Ketryx, set the following:

- Username: `x-token-auth` (as a verbatim value, as documented [here](https://support.atlassian.com/bitbucket-cloud/docs/using-access-tokens/))

- Password: (the access token)

## Related articles

- [How can I use the Code Change Review (CCR) feature with Bitbucket?](how-can-i-use-the-code-change-review-ccr-feature-with-bitbucket.md)
- [What permissions does the Bitbucket Repository Access Token need?](what-permissions-does-the-bitbucket-repository-access-token-need.md)
- [How do I create an App Password for Bitbucket?](how-do-i-create-an-app-password-for-bitbucket.md)
- [How do I create a fine-grained Personal Access Token for GitHub?](how-do-i-create-a-fine-grained-personal-access-token-for-github.md)
- [How do I create a Personal Access Token (PAT) (classic) for GitHub?](how-do-i-create-a-personal-access-token-pat-classic-for-github.md)
