|
1 | 1 | # Connect VS Code to the JFrog Platform
|
2 | 2 |
|
3 |
| -Once the JFrog Extension is installed in VS Code, click on the JFrog tab: |
| 3 | +**The JFrog Security documentation has a new home!**\ |
| 4 | +You can now find it [here](https://jfrog.com/help/p/security-home), including sections on: |
4 | 5 |
|
5 |
| - |
6 |
| - |
7 |
| -This will open the Sign in page: |
8 |
| - |
9 |
| - |
10 |
| - |
11 |
| -Fill in your connection details and click on the `Sign In` button to start using the extension |
12 |
| - |
13 |
| -**Note**: If you would like to use custom URLs for Artifactory or Xray, click on `Advanced`. |
14 |
| - |
15 |
| -You can also choose other option to authenticate with your JFrog Platform instance: |
16 |
| - |
17 |
| -1. [SSO](connect-vs-code-to-the-jfrog-platform.md#connect-using-sso) |
18 |
| -2. [JFrog CLI's Connection Details](connect-vs-code-to-the-jfrog-platform.md#connect-using-jfrog-cli-connection-details) |
19 |
| -3. [Using Environment Variables](connect-vs-code-to-the-jfrog-platform.md#connect-using-environment-variables). |
20 |
| - |
21 |
| -## Connect Using SSO |
22 |
| - |
23 |
| -To sign in using SSO, follow these steps: |
24 |
| - |
25 |
| -1. On the sign-in page, click the `Continue with SSO` button: |
26 |
| - |
27 |
| - |
28 |
| - |
29 |
| -2. After entering your JFrog platform URL, click on `Sign in With SSO`. |
30 |
| -3. It will take a few seconds for the browser to redirect you to the SSO sign in page. |
31 |
| -4. You should now be signed in in at vscode. |
32 |
| - |
33 |
| -## Connect Using JFrog CLI Connection Details |
34 |
| - |
35 |
| -If JFrog CLI is installed on your machine and is configured with your JFrog Platform connection details, then you should see the message popup in the Sigh in page: |
36 |
| - |
37 |
| - |
38 |
| - |
39 |
| -## Connect Using Environment Variables |
40 |
| - |
41 |
| -You may set the connection details using the following environment variables. VS Code will read them after it is launched. |
42 |
| - |
43 |
| -* `JFROG_IDE_URL` - JFrog URL |
44 |
| -* `JFROG_IDE_USERNAME` - JFrog username |
45 |
| -* `JFROG_IDE_PASSWORD` - JFrog password |
46 |
| -* `JFROG_IDE_ACCESS_TOKEN` - JFrog access token |
47 |
| -* `JFROG_IDE_STORE_CONNECTION` - Set the value of this environment variable to **true**, if you'd like VS Code to store the connection details after reading them from the environment variables. |
48 |
| - |
49 |
| -Once the above environment variables are configured, you can expect to see a message popup in the Sigh in page: |
50 |
| - |
51 |
| - |
52 |
| - |
53 |
| -**Note**: For security reasons, it is recommended to unset the environment variables after launching VS Code. |
| 6 | +* [CLI](https://jfrog.com/help/r/jfrog-security-user-guide/developers/cli) |
| 7 | +* [Frogbot](https://jfrog.com/help/r/jfrog-security-user-guide/developers/frogbot) |
| 8 | +* [IDEs](https://jfrog.com/help/r/jfrog-security-user-guide/developers/ides) |
0 commit comments