Bitbucket Integration Setup
Private Packagist Enterprise
Documentation
- Quick Start Guide
- Private Networks and Firewalls
- Using Private Packagist in a Composer project
- API Documentation
- Changelog
- Security Monitoring
Features
- Private Composer Packages
- Mirroring Composer Packages
- GitHub, Bitbucket, GitLab and Other Integrations
- Security Monitoring
- Dependency License Review
- Vendors: Customer Setup
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.

Start Free Trial
Login to create an organization and start your free trial!