Bitbucket Integration Setup
Private Packagist Enterprise
Documentation
Features
- Private Composer Packages
- Mirroring Composer Packages
- GitHub, Bitbucket and GitLab Integration
- Dependency License Review
- API Documentation
- Changelog
Articles
Private Packagist Enterprise
Note: The instructions on this page create an integration with the public Bitbucket at bitbucket.org. If you are trying to setup an integration with your own Bitbucket Server (Stash) consult the Bitbucket Server (Stash) setup guide.
Initial Setup
Hit the “Add integration“ button on the admin page to get to the form below. To setup a Bitbucket Integration with Private Packagist start by selecting "Bitbucket" as the platform and enter https://bitbucket.org as the base URL, as seen in the example below.

Creating an OAuth Application
Do not submit the integration form yet, but copy the content from the "Callback URL / Redirect URL" and go to https://bitbucket.org/account. Find the "OAuth" menu item under "Access Management" and click on "Add consumer".

Make sure all the scopes listed on the Private Packagist form are checked and save the new consumer.

Click on the consumer you just created to reveal the credentials required to finish the setup on Private Packagist.
Finish the Setup
Copy and paste the "Key" and "Secret" values back into the Private Packagist integration form and submit the form with the "Create Integration" button.

Free Trial
Login with github now to create an organization and start your free trial!