Connect an LLM provider
Store a provider credential, create an LLM model record and point Sofi's assistants and prompts at it.
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
administratorrole. - 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
-
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.
-
Go to Intelligent automation → Agentic AI → LLM models and select New.
-
Enter a Name, then choose the Provider and enter the Model identifier the provider uses.
-
Set Model Type to Chat for assistants and prompts, or Embedding for embeddings. Azure OpenAI also offers Language for text completion.
-
Set Outbound API Token to the token from step 1. Fill in Base URL and API Version if the provider tab asks for them.
-
Select Active and save the model.
-
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.
-
Open an AI prompt that uses the model and select Test Model to send a request.
Provider settings
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.

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.

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.
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.
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.
| 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 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.