You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/deployment/connect-scm.md
+8-3
Original file line number
Diff line number
Diff line change
@@ -139,16 +139,21 @@ You have successfully connected an org in Semgrep AppSec Platform with an organi
139
139
140
140
<TabItemvalue='bitbucket-data-center'>
141
141
142
+
143
+
1. Create an HTTP Access Token for your project following the steps outlined in [<iclass="fas fa-external-link fa-xs"></i> Bitbucket Data Center documentation](https://confluence.atlassian.com/bitbucketserver/http-access-tokens-939515499.html). Ensure that the access token is created with `PROJECT_ADMIN` permissions.
144
+
1. Copy the token for use in the next steps.
142
145
1. Sign in to [<iclass="fas fa-external-link fa-xs"></i> Semgrep AppSec Platform](https://semgrep.dev/login).
143
146
1. Optional: If you have created more than one Semgrep account, select the account you want to make a connection for by clicking on the **Navigation bar > Your account name > The account you want to connect**.<br />
1. Go to **<iclass="fa-solid fa-gear"></i> Settings** > **Source code managers**, and click **Add > Bitbucket Data Center**.
146
149
1. In the **Connect your Bitbucket project (key)** dialog box, provide:
147
150
- The **Name of your Bitbucket project (key)**. This must be the project key, which you can find by navigating to `<YOUR_BITBUCKET_DATA_CENTER_BASE_URL>/projects`.
148
-
- The **URL** to access your installation of Bitbucket Data Center
151
+
- The **URL** to access your installation of Bitbucket Data Center; this is your fully-qualified domain name.
149
152
- The **Access Token** that grants Semgrep permission to communicate with your project. Semgrep expects an [HTTP access token](https://confluence.atlassian.com/bitbucketserver/http-access-tokens-939515499.html) with `PROJECT_ADMIN` permissions.
150
-
2. Click **Connect** to save and proceed.
151
-
3. The Bitbucket project is now listed under **Source code managers**. Click **Test** to verify that the new connection was installed correctly.
153
+
1. Click **Connect** to save and proceed.
154
+
1. The Bitbucket project is now listed under **Source code managers**. Click **Test** to verify that the new connection was installed correctly.
0 commit comments