> ## Documentation Index
> Fetch the complete documentation index at: https://docs.opper.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# JetBrains AI Assistant

> Add Opper as an OpenAI-compatible provider in IntelliJ, PyCharm, and every JetBrains IDE

[JetBrains AI Assistant](https://www.jetbrains.com/ai/) brings chat and agent features into IntelliJ IDEA, PyCharm, WebStorm, GoLand, and the rest of the JetBrains IDE family. Its bring-your-own-key mode accepts any OpenAI-compatible provider.

## Setup

<Steps>
  <Step title="Open the provider settings">
    **Settings → Tools → AI Assistant → Providers & API keys**, then add an **OpenAI-compatible** provider.
  </Step>

  <Step title="Fill in the connection">
    | Field        | Value                                                                               |
    | ------------ | ----------------------------------------------------------------------------------- |
    | **Base URL** | `https://api.opper.ai/v3/compat`                                                    |
    | **API Key**  | Your Opper API key                                                                  |
    | **Model**    | Any ID from the [catalog](/capabilities/models), e.g. `anthropic/claude-sonnet-4-6` |
  </Step>

  <Step title="Continue">
    Click **Continue**. AI Chat and the integrated agents now run on Opper — no JetBrains AI subscription required.
  </Step>
</Steps>

## Choosing a model

The model is named per provider entry rather than fetched, so add one provider entry per model you want to switch between. Which AI Assistant features work depends on what the model supports — agents need tool calling.

## Troubleshooting

<AccordionGroup>
  <Accordion title="401 Unauthorized">
    Check the key is an Opper key (they start with `op-`) and that you chose the OpenAI-compatible provider type rather than OpenAI.
  </Accordion>

  <Accordion title="404 Model Not Found">
    Copy the model ID exactly from the [catalog](/capabilities/models), including the provider prefix.
  </Accordion>

  <Accordion title="Some features stay greyed out">
    A few AI Assistant features are tied to JetBrains' own service rather than the configured provider. Chat and the integrated agents are the ones BYOK covers.
  </Accordion>
</AccordionGroup>

## Related

<CardGroup cols={2}>
  <Card title="Model catalog" icon="list" href="/capabilities/models">
    Browse the catalog for model IDs and capabilities.
  </Card>

  <Card title="All integrations" icon="plug" href="/integrations/overview">
    Every app that runs on Opper.
  </Card>
</CardGroup>
