> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/sast-and-sca/prezero/integrations/jetbrains-plugin.md).

# JetBrains plugin

The [Qwiet AI plugin](https://plugins.jetbrains.com/plugin/25945-qwiet-ai) for JetBrains enables you to shift further left by identifying and fixing security vulnerabilities as you write code. Fix vulnerabilities before they ever exist as a backlog ticket.

## Language support and requirements <a href="#language-support-and-requirements" id="language-support-and-requirements"></a>

Qwiet AI for JetBrains currently:

* Supports the analysis of Go, Java, JavaScript and TypeScript, Kotlin, PHP, Python, Terraform, C and C++ (either in CLion or by file extensions `.c`, `.cc`, `.cpp`, `.h`, `.hpp`, `.hh`), and C# (but only by file extension `.cs`) applications;
* Is compatible with the following JetBrains IDEs (builds `241`, `242`, `243`, and `251`): IntelliJ IDEA Ultimate, AppCode, Aqua, CLion, GoLand, PhpStorm, PyCharm Professional, Rider, RubyMine, WebStorm.

## Dependencies <a href="#dependencies" id="dependencies"></a>

Before proceeding with this extension, ensure that your workstation meets the [prerequisites](broken://spaces/uPVBkglG6gsk2SsnsKgG/pages/0c1ezDgaUil5NxR4VnY3) for using Qwiet AI by Harness.

The extension will automatically download and install the latest version of the [Qwiet CLI](broken://spaces/4t03gua31tHpZwtcczPO/pages/awGOIhLEqCHPlyq3Y1Qc) for you. This will not affect the system version of the Qwiet CLI (if you have it installed); these two versions will be maintained in parallel.

## Installation <a href="#installation" id="installation"></a>

To install Qwiet AI by Harness for JetBrains, you can install it from within your IDE by opening **Settings**, selecting **Plugins**, searching for `Qwiet AI`, and clicking **Install**.

![Installing the Qwiet AI plugin via the JetBrains Marketplace tab](/files/Oz6eLFgjZ0vNSElOxvcy)

Then simply click **OK** to dismiss the **Settings** pane.

![](/files/mlZo7QhbBaWAQlpvEVi9)note

Please note that in some cases the IDE needs to be restarted for the plugin to become available.

Alternatively, you can obtain the extension by downloading it from the [JetBrains Marketplace](https://plugins.jetbrains.com/plugin/25945-qwiet-ai).

![JetBrains plugin on the JetBrains Marketplace website](/files/iX68ICZpNRkaODXecKMU)

If you need additional information, visit the official [JetBrains documentation](https://www.jetbrains.com/help/idea/managing-plugins.html).

## Usage <a href="#usage" id="usage"></a>

### Step 1: Authenticate your machine <a href="#step-1-authenticate-your-machine" id="step-1-authenticate-your-machine"></a>

If you have previously installed the Qwiet CLI, the Qwiet AI JetBrains plugin will leverage the information contained in your local Qwiet configuration file to authenticate your machine.

To authenticate your newly installed plugin:

1. Click the **Tools** menu, then click on **Qwiet AI**, and finally click on **Sign In** to begin the process of authenticating with Qwiet.

   ![JetBrains plugin Sign in option in the Tools menu](/files/43ZMxPCr7SIQeh4UseuL)
2. Log into Qwiet AI when prompted (if necessary, create an account first).
3. Return to the JetBrains IDE and verify that your user information is correct by clicking on the **Tools** menu, then click on **Qwiet AI**, and finally click on **Show User Information**.

   ![JetBrains plugin user information pane](/files/q806qb6I6JvpHq3P8qXH)

### Step 2: Analyze your project <a href="#step-2-analyze-your-project" id="step-2-analyze-your-project"></a>

1. In the JetBrains IDE, open the project you want analyzed by Qwiet AI.
2. Click the **Tools** menu, the click on **Qwiet AI**, and then click on **Start analysis**. The progress status can be seen on the bottom-right corner of the IDE.
3. The JetBrains **Problems** pane should open automatically, with the *Qwiet AI*\* tab selected. If that's not the case, click on the **Problems** button on the IDE, and locate and click on the **Qwiet AI** tab.

   ![JetBrains plugin problems view](/files/78tPzYSqt741DsigfXTC)

![](/files/mlZo7QhbBaWAQlpvEVi9)note

You can also load existing results (if available) by going to the **Problems** pane, **Qwiet AI**, and clicking on **Load Findings**.

1. You can now expand a problem category to list findings, click on a problem to view details about the finding, expand the problem to view the affected files, and click on a file to open the file with the problematic line of code automatically selected.

   ![Jetbrains plugin view of problems and affected code](/files/7uEtF11nLGZVGQo5fxnc)
2. Use the different options on the **Problems** toolbar to Open the Qwiet AI by Harness dashboard, Apply AutoFix, Sort and Group findings, Expand and Collapse findings, etc.

   ![JetBrains plugin AutoFix merge](/files/IeAxcTCeUm2zVwwieRTg)

## Updates and plugin management <a href="#updates-and-plugin-management" id="updates-and-plugin-management"></a>

To update the plugin, go to **Settings**, **Plugins**, **Installed**, and search for the **Qwiet AI** plugin. Select it, and then click **Update**, if available. You can also **Disable**, and \**Uninstall* the plugin from the same menu. For additional information, see the official [JetBrains documentation](https://www.jetbrains.com/help/idea/plugins-settings.html).

## Help <a href="#help" id="help"></a>

Contact the [Qwiet AI Customer Success Team](mailto:support@qwiet.ai) for assistance.
