AI Assistant 2026.1 Help

Bring your own key (BYOK)

AI Assistant supports the Bring Your Own Key (BYOK) approach, which allows you to use models from a supported AI provider by providing your own API key.

This setup allows you to use AI Assistant features if they are supported by the provider models, work in AI Chat, and use integrated agents with the provider's models without a JetBrains AI subscription.

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

  1. Open the AI Chat tool window.

  2. Click Bring your own API key.

    Bring your own API key
  3. In the Provider field, select the AI provider that you want to use.

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

    Specify an API key
    • Enter your Key and click Continue.

    1. Select the authentication method. There are two possible options:

      • Express – authenticate using a Vertex AI express mode API key.

        Google Vertex AI – Express
      • ADC (Application Default Credentials) – a Google Cloud authentication mechanism that uses credentials configured in your environment (for example, from your local Google Cloud setup or a service account) to authorize requests.

        This method requires specifying the Project ID and Location parameters.

        Google Vertex AI – ADC
    2. 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 the selected 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