Before you begin
- You have the admin role in your Datafold organization.
- You can create a repository access token in Bitbucket.
What access Datafold needs
Datafold reads your codebase for migration projects, pushes migrated code, and opens pull requests. It also installs a webhook for pull request and push events.- Bitbucket Cloud: Pull requests → Write, which includes repository read and write access, and Webhooks → Read and write.
- Bitbucket Data Center / Server: Repository admin.
Create an access token
Bitbucket Cloud
In your Bitbucket repository settings, create a repository access token with these permissions:- Pull requests → Write
- Webhooks → Read and write

Bitbucket Access Token
Bitbucket Data Center / Server
In your Bitbucket repository settings, create a repository access token with Repository admin permissions.
Bitbucket Server Access Token
Add the integration in Datafold
1
Choose Bitbucket
Go to Settings → Integrations → Repositories, click Add new integration, and choose Bitbucket.
2
Select the deployment
Set Deployment to Cloud for Bitbucket Cloud or Self-hosted for Bitbucket Data Center / Server.
3
Fill in the fields
4
Save the integration
Click Save.
