Connect the JFrog Plugin to an existing JFrog Environment
You can connect the plugin to your JFrog environment using one of the following methods:
Using the IDE Settings
Once the plugin is successfully installed, connect the plugin to your instance of the JFrog Platform:
If your JFrog Platform instance is behind an HTTP proxy, configure the proxy settings as described here. Manual proxy configuration is supported since version 1.3.0 of the JFrog IntelliJ IDEA Plugin. Auto-detect proxy settings is supported since version 1.7.0.
Under Settings (Preferences) | Other Settings, click JFrog Global Configuration.
Set your JFrog Platform URL and login credentials.
Test your connection to Xray using the Test Connection button.
Using Environment Variables
The plugin also supports connecting to your JFrog environment using environment variables:
Under Settings (Preferences) | Other Settings, click JFrog Global Configuration.
Mark Load connection details from environment variables.
You may provide basic auth credentials or access token as follows:
NOTE: For security reasons, it is recommended to unset the environment variables after launching the IDE.
If your JFrog Platform instance uses a domain with a self-signed certificate, add the certificate to IDEA as described here.
From JFrog Xray version 1.9 to 2.x, IntelliJ IDEA users connecting to Xray from IntelliJ are required to be granted the ‘View Components’ action in Xray.
From JFrog Xray version 3.x, as part of the JFrog Platform, IntelliJ IDEA users connecting to Xray from IntelliJ require ‘Read’ permission. For more information, see here.