AI Assistant 2026.1 Help

Bring your own key (BYOK)

AI Assistant supports the Bring Your Own Key (BYOK) approach, which allows you to provide an API key from a supported AI provider to use its models in AI Assistant.

This setup allows you to work in AI Chat and use integrated agents with the provider's models without having a JetBrains AI service subscription.

You can enter your API key after installing the AI Assistant plugin:

  1. Open the AI Chat tool window.

  2. Click Use API Key or Local Models.

    Bring Own API Key
  3. In the Provider field, select one of the supported AI providers that you want to use.

  4. Configure the provider settings. Depending on the selected provider, the configuration may differ:

    Specify API key
    • Enter your Key and click Continue.

    Specify OpenAI-compatible provider's settings
    1. Specify the Base URL of the provider's API endpoint.

    2. Enter your Key.

    3. Specify the Model you want to use.

    4. Click Continue.

After completing these steps, you can start using AI Assistant with your preferred AI provider. To verify that the selected provider is active, click the JetBrains AI widget in the window header toolbar.

Third-party provider in JetBrains AI widget
30 March 2026