## Prerequisites

- You have a JetBrains IDE with ACP support, such as IntelliJ IDEA, PyCharm, or WebStorm.
- You have Poolside Agent CLI installed and authenticated. See [Install Poolside Agent CLI](https://docs.poolside.ai/cli/install).

## Steps

1. Configure JetBrains.
   
   ```
   pool acp setup --editor jetbrains
   ```
   
   This writes Poolside agent configuration to `~/.jetbrains/acp.json`.
2. Restart your JetBrains IDE.
3. Select **Poolside** from the agent picker.

## Configure JetBrains manually

If you prefer to configure JetBrains manually, add the following configuration to `~/.jetbrains/acp.json`:

```
{
  "agent_servers": {
    "Poolside": {
      "command": "pool",
      "args": ["acp"]
    }
  }
}
```

For more information, see the [JetBrains ACP documentation](https://www.jetbrains.com/help/ai-assistant/acp.html).
