☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

Connecting a Bitbucket repository as your source

Last modified: March 29th, 2026

Connecting Bitbucket allows you to work on your websites locally and have the changes sync to CloudCannon. File changes made on CloudCannon also get synced back to Bitbucket.

To connect a Bitbucket repository and start syncing files, follow these instructions:

  1. Go to Site Settings / Syncing
  2. Select Bitbucket repository
  3. Click Authenticate
The Site Settings Syncing page with Bitbucket repository selected from the provider dropdown and an Authenticate button.

This redirects you to Bitbucket. Log in and authorize CloudCannon access to your Bitbucket account. You'll be redirected back to CloudCannon to pick a repository to connect. If you don't have one for this website, create a new one in Bitbucket and refresh this page.

The Site Settings Syncing page with a Bitbucket repository selected from the repository dropdown.

Any existing files on your website will be replaced with the contents of the selected repository. Click Backup and Sync to continue, or exit the page to cancel the process.

Bitbucket is now connected. Changes you push to the Git repository are pulled in by CloudCannon. Any changes made on CloudCannon are automatically committed and pushed.

Related Resources

Open in a new tab