# JetBrains Toolbox (beta)

JetBrains Toolbox helps you manage JetBrains products and includes remote development capabilities for connecting to Coder workspaces.

For more details, visit the [official JetBrains documentation](https://www.jetbrains.com/help/toolbox-app/manage-providers.html#shx3a8_18).

## Install the Coder provider for Toolbox [#install-the-coder-provider-for-toolbox]

1. Install [JetBrains Toolbox](https://www.jetbrains.com/toolbox-app/) version 2.6.0.40632 or later.
2. Open the Toolbox App.
3. From the switcher drop-down, select **Manage Providers**.
4. In the **Providers** window, under the Available node, locate the **Coder** provider and click **Install**.

![Install the Coder provider in JetBrains Toolbox](/beta-docs/images/user-guides/jetbrains/toolbox/install.png)

## Connect [#connect]

1. In the Toolbox App, click **Coder**.
2. Enter the URL address and click **Sign In**.
   ![JetBrains Toolbox Coder provider URL](/beta-docs/images/user-guides/jetbrains/toolbox/login-url.png)
3. Authenticate to Coder adding a token for the session and click **Connect**.
   ![JetBrains Toolbox Coder provider token](/beta-docs/images/user-guides/jetbrains/toolbox/login-token.png)
   After the authentication is completed, you are connected to your development environment and can open and work on projects.
   ![JetBrains Toolbox Coder Workspaces](/beta-docs/images/user-guides/jetbrains/toolbox/workspaces.png)

## Use URI parameters [#use-uri-parameters]

For direct connections or creating bookmarks, use custom URI links with parameters:

```sh
jetbrains://gateway/com.coder.toolbox?url=https://coder.example.com&token=<auth-token>&workspace=my-workspace
```

Required parameters:

* `url`: Your Coder deployment URL
* `token`: Coder authentication token
* `workspace`: Name of your workspace

Optional parameters:

* `agent_id`: ID of the agent (only required if workspace has multiple agents)
* `folder`: Specific project folder path to open
* `ide_product_code`: Specific IDE product code (e.g., "IU" for IntelliJ IDEA Ultimate)
* `ide_build_number`: Specific build number of the JetBrains IDE

For more details, see the [coder-jetbrains-toolbox repository](https://github.com/coder/coder-jetbrains-toolbox#connect-to-a-coder-workspace-via-jetbrains-toolbox-uri).

## Configure internal certificates [#configure-internal-certificates]

To connect to a Coder deployment that uses internal certificates, configure the certificates directly in the Coder plugin settings in JetBrains Toolbox:

1. In the Toolbox App, click **Coder**.
2. Click the (⋮) next to the username in top right corner.
3. Select **Settings**.
4. Add your certificate path in the **CA Path** field.
   ![JetBrains Toolbox Coder Provider certificate path](/beta-docs/images/user-guides/jetbrains/toolbox/certificate.png)

## Troubleshooting [#troubleshooting]

If you encounter issues connecting to your Coder workspace via JetBrains Toolbox, follow these steps to enable and capture debug logs:

### Enable Debug Logging [#enable-debug-logging]

1. Open Toolbox
2. Navigate to the **Toolbox App Menu (hexagonal menu icon) > Settings > Advanced**.
3. In the screen that appears, select `DEBUG` for the Log level: section.
4. Hit the back button at the top.
5. Retry the same operation

### Capture Debug Logs [#capture-debug-logs]

1. Access logs via **Toolbox App Menu > About > Show log files**.
2. Locate the log file named `jetbrains-toolbox.log` and attach it to your support ticket.
3. If you need to capture logs for a specific workspace, you can also generate a ZIP file using the Workspace action menu, available either on the main Workspaces page in Coder view or within the individual workspace view, under the option labeled **Collect logs**.

## Additional Resources [#additional-resources]

* [JetBrains Toolbox documentation](https://www.jetbrains.com/help/toolbox-app)
* [Coder JetBrains Toolbox Plugin Github](https://github.com/coder/coder-jetbrains-toolbox)
