Connect the JFrog Plugin to the JFrog Platform

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:

  1. 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.

  2. Under Settings (Preferences) | Other Settings, click JFrog Global Configuration.

  3. Set your JFrog Platform URL and login credentials.

  4. 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:

  1. Under Settings (Preferences) | Other Settings, click JFrog Global Configuration.

  2. 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.

  • JFROG_IDE_PLATFORM_URL - JFrog Platform URL

  • JFROG_IDE_USERNAME - JFrog Platform username

  • JFROG_IDE_PASSWORD - JFrog Platform password

  • JFROG_IDE_ACCESS_TOKEN - JFrog Platform access token

NOTES:

  • 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.

Last updated

© 2024 JFrog Ltd All Rights Reserved