---
title: "Set up AI with AI Setup"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/sofi/models-and-settings/set-up-ai/
type: task
application: sofi_core
last_updated: 2026-12-03
commit: 6777698daac5
---


Use **AI Setup** to connect your language model provider before you use AI assistants, agents or prompts. In one pass it stores the credential, creates the model records and sets the model for each role.

## Before you begin

- You need the `administrator` role. AI Setup refuses every other user.
- Have an account with the provider and its credential. This is an API key, or for AWS Bedrock an access key ID and secret access key.
- For Microsoft Azure, have the Foundry endpoint and the names of two model deployments.

## Steps

<Steps>
  <Step>
    In the **Administration** workspace, go to **AI models, cost & value → Models & settings → AI Setup**. The **Overview** step shows the current provider, credential and the model for each role. Select **Review or change**.

    <Image src="asset:screenshots/admin/sofi-models-and-settings-set-up-ai/ai-setup-menu.png">The AI Setup item in the AI models, cost & value menu.</Image>
  </Step>
  <Step>
    On the **Provider** step, choose your provider. The tabs under these steps say what each one needs.

    <Image src="asset:screenshots/admin/sofi-models-and-settings-set-up-ai/ai-setup-provider.png">The Provider step of AI Setup, with Anthropic, OpenAI, Microsoft Azure, AWS Bedrock and Custom endpoint.</Image>
  </Step>
  <Step>
    On the **Connection** step, enter the credential and any address the provider needs. **Where to get the key** says where the provider issues it.
  </Step>
  <Step>
    On the **Models** step, check the **Primary model** and the **Fast model**. Add further models if users should pick them in chat.
  </Step>
  <Step>
    On the **Test** step, send a test request. The test uses the credential you typed, not a saved one. A failed check stops you from continuing.
  </Step>
  <Step>
    On the **Review and apply** step, check what will change. Select **Let users choose between these models in chat** if you added further models. Then select **Apply**.
  </Step>
</Steps>

Nothing is saved before **Apply**. Apply stores the credential on the provider's shipped outbound token. It creates an active, priced LLM model record for each chosen model. It then sets the model for each role of prompts, assistants and agents.

If apply fails part-way, the earlier writes stay. It is safe to run AI Setup again.

To use more than one provider, finish AI Setup with your main provider. Then add further models by hand, as in [Connect an LLM provider](page:sofi/models-and-settings/connect-an-llm-provider).

## Provider settings

<Tabs>
  <Tab title="Anthropic">
    Enter your Anthropic API key. AI Setup pairs Claude Sonnet 5.5 as the main model with Claude Haiku 5.5 as the fast model.
  </Tab>
  <Tab title="OpenAI">
    Enter your OpenAI API key. AI Setup pairs GPT-6.2 Sol with GPT-6.1 Terra. It creates the records with the **OpenAI (Responses API)** provider, the only route on which current GPT models can use tools. PDF attachments are not passed to these models.
  </Tab>
  <Tab title="Microsoft Azure">
    Enter your Foundry endpoint, its key and the names of two model deployments. AI Setup creates the records with the **Microsoft Foundry** provider. PDF attachments are not passed to these models.
  </Tab>
  <Tab title="AWS Bedrock">
    Enter an IAM access key ID and secret access key, and choose the AWS region. AWS Bedrock is set for the whole instance. Apply also sets the properties `aws.bedrock.default.region` and `aws.bedrock.api.token.name`.
  </Tab>
  <Tab title="Custom endpoint">
    Use this for a LiteLLM proxy or another OpenAI-compatible gateway. Enter its base URL, which must use `https`, and its key. A LiteLLM proxy creates **LiteLLM** records. Any other gateway creates **OpenAI (Chat Completions API)** records. The key is stored on a new token, `custom_ai_endpoint_key`. Servicely does not test the models behind a custom endpoint.
  </Tab>
</Tabs>

## Result

The provider is connected, and Sofi's assistants, agents and prompts use the models you chose. Open **AI Setup** again to see the current configuration on the **Overview** step. Each call is recorded in **AI models, cost & value → Usage & Cost → LLM usage logs**.

## Related

- [Connect an LLM provider](page:sofi/models-and-settings/connect-an-llm-provider)
- [How Sofi is built](page:sofi/how-sofi-is-built)
- [Sofi settings and properties](page:sofi/models-and-settings/sofi-settings-and-properties)
- [Sofi data handling and security](page:sofi/data-handling)
