---
title: Add and Manage AI Model Connections
slug: litmusedge/add-and-manage-ai-model-connections
docTags: 
createdAt: 2026-07-23T14:48:14.778Z
---

An AI Models connection lets your analytics flows reference an external AI provider through the AI Processor. This guide walks you through adding a new connection, then updating or removing one you've already created.

:::hint{type="info"}
**Note**: Also see [AI Models](docId\:wPy1bCI1y2GXJTZfaVDm9) for an overview of supported providers and what a connection is used for.
:::

## Before you begin

Before you add or manage a connection, ensure you have:

- Valid API keys or tokens for the AI model provider you're connecting to
- Permission to access and modify AI model configurations in LE Analytics

## Step 1: Add a connection

To add a new AI Models connection:

1. Click **Add Connection**. The *Add Connection* dialog box appears.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/kXEBZwTDFpsves716bNoq_image.png" size="80" isUploading="false" width="1854" height="652" darkWidth="1854" darkHeight="652" position="flex-start" showCaption="false" indent="2"}

2. In **Name**, enter a name for the connection.
3. In **Provider**, select the provider you're connecting to: OpenAI API, Cloudflare AI Gateway, Grok API, Ollama API, Google Gemini API, Nvidia API, or Anthropic API.
4. Enter the **URL** endpoint, **API** key, and **Model ID** for the provider you selected.
5. Click **Verify** to test the connection using the List Models API call. Confirm that the connection validates successfully before continuing.
6. Save the configuration to add it to your list of connections.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/nGG_fWUKqEH_mUa7vUl0c_image.png" size="80" isUploading="false" width="1624" height="883" darkWidth="1624" darkHeight="883" position="flex-start" showCaption="false" indent="2"}

## Step 2: Update a connection

To update an existing connection:

1. In the *AI Models* list, locate the connection you want to update.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/rmadew4y9hRMKZy0zW_1S_image.png" size="80" isUploading="false" width="1827" height="423" darkWidth="1827" darkHeight="423" position="flex-start" showCaption="false" indent="2"}

2. Click the three dots icon next to the connection, then click **Edit**.
3. Update the necessary fields, such as **API key**, **URL**, or **Model ID**.
4. Click **Save** or **Update**.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/Ripe82QbQEbp2z0tG0kHh_image.png" size="60" isUploading="false" width="981" height="617" darkWidth="981" darkHeight="617" position="flex-start" showCaption="false" indent="2"}

5. Click **Verify** to confirm the updated configuration is working correctly.

## Step 3: Delete a connection

To remove a connection you no longer need:

1. In the *AI Models* list, locate the connection you want to remove.
2. Click the three dots icon next to the connection, then click **Remove**.
3. Click **Delete** to confirm. The connection no longer appears in the *AI Models* list.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/ArfknGKcrt-__D21GYl9v_image.png" size="60" isUploading="false" width="887" height="234" darkWidth="887" darkHeight="234" position="flex-start" showCaption="false" indent="2"}

