---
title: "Connect an LLM provider"
site: admin
version: 1.11
versions: "1.11+"
url: https://docs-new.servicely.ai/admin/1.11/sofi/connect-an-llm-provider/
type: task
application: sofi_core
last_updated: 2026-11-24
commit: 88e011e506a8
---


Connect a language model before you use AI assistants, AI agents or AI prompts, because every one of them calls a model. This page is for administrators who bring their own provider account, such as Azure OpenAI or AWS Bedrock.

## Before you begin

- You need the `administrator` role.
- Have an account with the provider and its credential: an API key, or for AWS Bedrock an access key ID and secret access key.
- Note the model or deployment name, and for Azure the endpoint URL and API version.

## Steps

<Steps>
  <Step>
    Go to **Administration → Integration → System API outbound tokens**. Open the token record for your provider, or select **New** to create one. Enter the credential as the provider tab below describes, and save.
  </Step>
  <Step>
    Go to **Intelligent automation → Agentic AI → LLM models** and select **New**.
  </Step>
  <Step>
    Enter a **Name**, then choose the **Provider** and enter the **Model** identifier the provider uses.
  </Step>
  <Step>
    Set **Model Type** to **Chat** for assistants and prompts, or **Embedding** for embeddings. Azure OpenAI also offers **Language** for text completion.
  </Step>
  <Step>
    Set **Outbound API Token** to the token from step 1. Fill in **Base URL** and **API Version** if the provider tab asks for them.
  </Step>
  <Step>
    Select **Active** and save the model.
  </Step>
  <Step>
    Go to **Intelligent automation → Agentic AI → Settings** and choose the new model for the model selection types Sofi should use it for: fast, general, complex, coding and selection.
  </Step>
  <Step>
    Open an AI prompt that uses the model and select **Test Model** to send a request.
  </Step>
</Steps>

### Provider settings

<Tabs>
  <Tab title="Azure OpenAI">
    Use the shipped **Azure OpenAI** token. Set **Type** to **Bearer**, **Access Key / Token** to your Azure OpenAI API key, and **Base URL** to your endpoint, in the form `https://<resource-name>.openai.azure.com/`.

    On the model, set **Provider** to Azure OpenAI, **Model** to your deployment name, and **API Version** to the version your deployment uses, for example `2025-01-01-preview`.

    <Image src="asset:screenshots/admin/servicely-capability-intelligent-automation-ai-prompt-single-shot-llm-classification-prompting-azure-openai-llm-configuration/image.png">An Azure OpenAI model record with the deployment name, API version, base URL and the Azure OpenAI token.</Image>
  </Tab>
  <Tab title="AWS Bedrock">
    Use the shipped **AWS Bedrock** token. Set **Type** to **Access Key**, **Access Key / Token** to your AWS access key ID, and **Secret Key** to your secret access key.

    Set the application property `aws.bedrock.default.region` to the AWS region where Bedrock runs, for example `us-east-1`. If you created a token with another name, set `aws.bedrock.api.token.name` to that name.

    On the model, set **Provider** to AWS Bedrock and **Model** to the Bedrock model ID.

    <Image src="asset:screenshots/admin/servicely-capability-intelligent-automation-ai-prompt-single-shot-llm-classification-prompting-aws-bedrock-llm-configuration/image.png">An AWS Bedrock model record with a Bedrock model ID and the AWS Bedrock token.</Image>
  </Tab>
  <Tab title="Anthropic on Azure AI Foundry">
    Create a token, for example named Azure Foundry. Select **Active**, set **Type** to **Bearer**, **Access Key / Token** to the Foundry deployment key, and **Base URL** to `https://<resource-name>.services.ai.azure.com/anthropic/v1/`.

    On the model, set **Provider** to **Anthropic**, **Model** to the deployment name in Foundry, and **Outbound API Token** to the new token.
  </Tab>
  <Tab title="Other providers">
    Use the shipped token for the provider where the table below names one, with **Type** **Bearer** and **Access Key / Token** set to your API key. The provider's default base URL applies unless you set **Base URL**. For Ollama and LiteLLM, which have no default base URL, set **Base URL** to your server.
  </Tab>
</Tabs>

### Providers

When a model has no **Outbound API Token**, Servicely uses the shipped token for its provider. If that token has no key, it reads the provider's API key from an environment variable on the server.

<!-- source: platform/data/AvailableValue?Table=SystemLLMModel&Field=Provider -->
| Provider | Shipped token | Default base URL |
| --- | --- | --- |
| Open AI | OpenAI | `https://api.openai.com/v1` |
| Azure OpenAI | Azure OpenAI | None, set per token |
| AWS Bedrock | AWS Bedrock | None, set by region |
| Anthropic | Anthropic | Provider default |
| Groq | Groq | `https://api.groq.com/openai/v1` |
| Ollama | None | None, set on the model |
| Openrouter | Openrouter | `https://openrouter.ai/api/v1` |
| Google | Google AI Gemini | `https://generativelanguage.googleapis.com/v1beta` |
| Cerebras | Cerebras | `https://api.cerebras.ai/v1` |
| Servicely | None | Servicely's internal service |
| LiteLLM | None | None, set on the model |


## Result

The model is active and Sofi's assistants, agents and prompts use it for the selection types you set. Each call is recorded in **Intelligent automation → Agentic AI → LLM usage logs** with its model, tokens and cost.

## Related

- [How Sofi is built](page:sofi/sofi-overview)
- [AI prompts](page:sofi/ai-prompts)
- [Sofi properties](page:sofi/sofi-properties)
- [Sofi data handling and security](page:sofi/data-handling)
