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 and create a key with the following permissions: Account:Write, Pull Request:Read and Webhooks.
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.
Hit save and you're ready to deploy with BitBucket!