Skip to content

Commit 7aea665

Browse files
Update Bitbucket Data Center on Cloud docs
1 parent 656f690 commit 7aea665

9 files changed

+52
-15
lines changed
169 KB
Loading
221 KB
Loading
Binary file not shown.
160 KB
Loading
157 KB
Loading
72 KB
Loading

docs/cloud/bitbucket-server-integration-setup.md

Lines changed: 43 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,67 @@
11
# Bitbucket Data Center / Server Integration Setup
22
## Private Packagist Cloud
33

4+
<div class="row column">
5+
<div class="callout success">
6+
<p>
7+
This guide explains how to set up an OAuth integration for Private Packagist Cloud with Bitbucket Data Center / Server.
8+
If you use their public service on bitbucket.org, these instructions are not relevant to you.
9+
</p>
10+
<p>If you are using our Self-Hosted product, please <a href="/docs/self-hosted/bitbucket-server-integration-setup.md">use this guide</a>.</p>
11+
</div>
12+
</div>
13+
414
<div class="row column">
515
<div class="callout warning">
616
<p>Note: Application Links using OAuth 2 are available since Bitbucket Data Center / Server v7.21. If you are using an older Bitbucket Data Center / Server version then consult the <a href="/docs/cloud/bitbucket-server-oauth1-integration-setup.md">Bitbucket Data Center / Server OAuth 1 setup guide</a>.</p>
717
</div>
818
</div>
919

10-
## Initial Setup
11-
From the organization settings page, select the "Integrations" subtab.
12-
Hit the "Add Integration" button on the integrations listing page to get to the form below.
13-
To set up a Bitbucket Data Center / Server integration with Private Packagist, start by selecting "Bitbucket Data Center / Server"
14-
as the platform, enter the URL of your on-premise Bitbucket Data Center / Server into the base URL field and select OAuth 2 as the OAuth version as seen in the example below.
20+
To allow your users to authenticate to Private Packagist Self-Hosted with their Bitbucket Data Center / Server account, you'll
21+
first need to create an integration in Private Packagist. This document walks you through the required steps.
1522

16-
![Packagist Setup](/Resources/public/img/docs/integration-setup/cloud/bitbucket-server-01-packagist-setup.png)
23+
## Open the Add Integration form
24+
From the organization settings page, select the "Integrations" subtab. Hit the "Add Integration" button on the integrations listing page to get to the form below.
25+
To set up a Bitbucket Data Center / Server integration with Private Packagist start by selecting "Bitbucket Data Center / Server" as the platform, enter
26+
the URL of your on-premise Bitbucket server into the base URL field and select OAuth 2 as the OAuth version as seen in the example below.
1727

18-
Copy the content from the "Callback URL / Redirect URL" field and follow the link to set up an Application Link.
28+
A link to create a new OAuth application on your Bitbucket Data Center / Server instance will automatically be displayed.
29+
30+
![Packagist Setup](/Resources/public/img/docs/integration-setup/cloud/bitbucket-server-01-packagist-setup-20250102.png)
1931

2032
## Configure Application link
21-
Click on the link to setup an Application Link on Bitbucket Data Center / Server and select "External application" as type and "Incoming" as direction.
33+
Do not submit the integration form yet, but copy the content from the "Callback
34+
URL / Redirect URL" and follow the setup link to your Bitbucket Data Center / Server instance. The fields
35+
Client ID and Client Secret remain empty for now.
36+
37+
In Bitbucket Data Center / Server, click on the "Create link" button and select "External application" as type and "Incoming" as direction.
2238

23-
![Bitbucket Data Center / Server Create Application Link](/Resources/public/img/docs/integration-setup/bitbucket-server-02-bitbucket-create-application-link.png)
39+
![Bitbucket Data Center / Server Create Application Link](/Resources/public/img/docs/integration-setup/bitbucket-server-02-bitbucket-create-application-link-20250102.png)
2440

2541
After you click the button to continue, enter a name and the content from the "Callback URL / Redirect URL" from the Private Packagist form.
2642
Select Repositories "Read" as application permission and save the form.
2743

28-
![Bitbucket Data Center / Server Configure Application Link](/Resources/public/img/docs/integration-setup/bitbucket-server-03-bitbucket-configure-application-link.png)
44+
![Bitbucket Data Center / Server Configure Application Link](/Resources/public/img/docs/integration-setup/cloud/bitbucket-server-03-bitbucket-configure-application-link.png)
45+
46+
Once the form is saved, Bitbucket Data Center / Server will show you the Client ID and secret.
2947

3048
## Finish the Setup
49+
Copy and paste the "Client ID" and "Client Secret" values back into the Private
50+
Packagist integration form and submit the form with the "Create Integration"
51+
button.
3152

32-
Once the form is saved, Bitbucket Data Center / Server will show you the Client ID and secret.
33-
Copy them over to Private Packagist and save the integration.
53+
![Packagist Finalize](/Resources/public/img/docs/integration-setup/cloud/bitbucket-server-04-packagist-finalize.png)
54+
55+
You'll be redirected back to the list of integrations.
56+
57+
### Share the GitHub Enterprise login link
58+
59+
The final step is sharing your organization-specific login link with your users. Look for the "Login link" button next to
60+
your newly created GitHub Enterprise integration on the integrations page, and copy the URL.
61+
62+
![Bitbucket Data Center / Server integrations](/Resources/public/img/docs/integration-setup/cloud/bitbucket-server-05-integrations-overview.png)
63+
64+
This link presents the option to authenticate with your Bitbucket Data Center / Server account and can now be used to log in to Private Packagist.
3465

3566
## Configure Bitbucket Server plugins
3667

docs/self-hosted/bitbucket-integration-setup.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33

44
<div class="row column">
55
<div class="callout success">
6-
<p>This guide explains how to set up an OAuth integration for Private Packagist Self-Hosted with the public service on Bitbucket.org.</p>
7-
<p>If you are trying to setup an integration with your own Bitbucket Data Center / Server, consult <a href="/docs/self-hosted/bitbucket-server-integration-setup.md">this guide for Self-Hosted</a>. If you are using our Cloud product at packagist.com, use <a href="/docs/cloud/bitbucket-server-integration-setup.md">this guide</a>.</p>
6+
<p>
7+
This guide explains how to set up an OAuth integration for Private Packagist Self-Hosted with the public service on Bitbucket.org.
8+
If you use Bitbucket Data Center / Server instead, consult <a href="/docs/self-hosted/bitbucket-server-integration-setup.md">this guide for Self-Hosted</a>.
9+
</p>
10+
<p>If you are using our Cloud product at packagist.com, this page is not relevant to you.</p>
811
</div>
912
</div>
1013

docs/self-hosted/bitbucket-server-integration-setup.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
<div class="row column">
55
<div class="callout success">
6-
<p>This guide explains how to set up an OAuth integration for Private Packagist Self-Hosted with Bitbucket Data Center / Server.</p>
6+
<p>
7+
This guide explains how to set up an OAuth integration for Private Packagist Self-Hosted with Bitbucket Data Center / Server.
8+
If you use their public service on bitbucket.org, follow <a href="/docs/self-hosted/bitbucket-integration-setup.md">these instructions</a>.
9+
</p>
710
<p>If you are using our Cloud product at packagist.com, <a href="/docs/cloud/bitbucket-server-integration-setup.md">use this guide</a>.</p>
811
</div>
912
</div>

0 commit comments

Comments
 (0)