Loading... Background job is running.

Edit on GitHub

Bitbucket Integration Setup

Private Packagist Self-Hosted

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 Data Center / Server consult the Bitbucket Data Center / Server setup guide.

Initial Setup

Hit the “Add Integration“ button on the admin page to get to the form below.

Add Integration

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.

Packagist Setup

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".

Bitbucket Form

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

Bitbucket Form

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.

Bitbucket Form

Start Free Trial

Login to create an organization and start your free trial!