# Configure AI assistance

> **Note:**
> Requires the Admin or Super Admin role.

In Datalore On-Premises, you can select whether AI assistance is enabled and what AI provider and model to use. By default, AI assistance is disabled.

> **Warning:**
> AI assistance can only be enabled on instances with an active and paid Datalore On-Premises license.

Supported models
: * OpenAl GPT-5.2
:
: * Anthropic Claude Opus 4.5
:
: * Anthropic Claude Sonnet 4.5
:
: * Google Gemini 3.1 Pro
:
: * Other models supported by your AI provider and local models through [Bring Your Own Key](#byok)

Bring Your Own Key
: BYOK allows you to use your own AI provider in your Datalore On-Premises instance, keeping control over data policies, costs, and model selection while using Datalore’s AI assistance. You can use either a cloud provider or a self-hosted LLM running on your infrastructure.
:
:
:
: Supported providers:
:
:
:
: * OpenAI
:
: * Providers with OpenAI-compatible APIs, for example, through OpenRouter
:
: * Azure OpenAI
:
:
:
: > **Note:**
: > When you use your own AI provider, any data sent is governed by that provider’s data policies. Usage is billed directly by the provider and may be subject to rate limits or other restrictions.

Before you begin
: Make sure that your network settings allow your Datalore On-Premises instance to connect to the AI provider:
:
:
:
: JetBrains AI:
: Allow connections to the following URLs:
:
:
: ```URI
: https://auth.grazie.ai
: https://api.jetbrains.ai
: ```
:
:
:
: Bring Your Own Key:
: Allow connections to your cloud AI provider or the local LLM running on your infrastructure.

Procedure: Enable AI assistance

1. Click your avatar at the top right and select Admin panel.

![Opening Admin panel](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/admin-panel.png)

2. Select ![AI icon](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/ai.svg) AI in the sidebar.

3. In AI assistance, select JetBrains AI or Bring Your Own Key.

4. Configure AI settings depending on the type you selected.

JetBrains AI:

In Default AI model, select the model you want to use.

Bring Your Own Key:

1.

Select the API type.

> **Tip:**
> For OpenAI-compatible APIs, such as through OpenRouter, select OpenAI.

2. Provide the API key and other connection details.

3. To make sure that the connection details are correct, click Check connection.

Changes are saved automatically.

Procedure: Change the model and other settings

1. Click the avatar at the top right and select Admin panel.

2. Select ![AI icon](https://resources.jetbrains.com.cn/help/img/datalore/2026.3/ai.svg) AI in the sidebar.

3. To change the settings:

JetBrains AI:

In Default AI model, select the new model you want to use.

Bring Your Own Key:

1. Edit the settings.

2. To make sure that the connection details are correct, click Check connection.

Changes are saved automatically.

