Skip to content

Commit d21f557

Browse files
authored
Update connect-vs-code-to-the-jfrog-platform.md
1 parent de3ebe1 commit d21f557

File tree

1 file changed

+5
-50
lines changed

1 file changed

+5
-50
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,8 @@
11
# Connect VS Code to the JFrog Platform
22

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:
45

5-
![jfrogTab](../../../../.gitbook/assets/vscode/jfrogTab.png)
6-
7-
This will open the Sign in page:
8-
9-
![SighInPage](../../../../.gitbook/assets/vscode/sighInPage.png)
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-
![SighInSsoButton](../../../../.gitbook/assets/vscode/ssoButton.png)
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-
![LoginPageJfrogCli](../../../../.gitbook/assets/vscode/sighInPageJFrogCli.png)
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-
![LoginPageEnvVar](../../../../.gitbook/assets/vscode/sighInPageEnvVar.png)
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

Comments
 (0)