> For the complete documentation index, see [llms.txt](https://hatchbox.gitbook.io/hatchbox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hatchbox.gitbook.io/hatchbox/apps/bitbucket.md).

# BitBucket

Connecting your BitBucket account to Hatchbox for deploying apps is pretty straightforward.

We'll use a BitBucket App Password to clone your app and add webhook deployments.

To create an App Password, visit [the App Password section in your BitBucket account](https://bitbucket.org/account/admin/app-passwords) and create a key with the following permissions: Account:Write, Pull Request:Read and Webhooks.

![](/files/-LkxwKMnDnQfxuHKxRQp)

Account:Write allows us to add SSH Keys from each cluster to your Bitbucket account. This lets your clusters clone repositories you have access to.

Webhooks and PullRequests:Read allow us to enable Webhook deployments.

After you click Create, you'll be presented with the BitBucket App Password. Copy and paste this into the Connected Accounts section of [your Hatchbox settings](https://www.hatchbox.io/users/edit).&#x20;

Hit save and you're ready to deploy with BitBucket!
