Skip to main content

Guide

1

Create an Azure OpenAI Resource

In the Azure Portal, open the Azure OpenAI Service and click Create. Fill in the required fields in each section. The default values are usually sufficient.The deployment can take a few minutes to complete.Azure OpenAI Deployment
2

Deploy a Model

Go to the Azure OpenAI Service and select your new resource.Open the Model Catalog tab and select the model you want to use with Onyx. Click Use this model → Deploy to selected resource.Azure OpenAI Service Landing PageAzure OpenAI Model Deployment
3

Copy the Target URI and API Key

On the deployed model page, copy the Target URI and the API Key. The Target URI contains the API base, the deployment name, and the API version that Onyx needs.Azure OpenAI Deployed Model Details
If Onyx chat responses say I'm sorry, but I cannot assist with that request, change the deployment’s Content filter to Default instead of DefaultV2.Azure OpenAI content filter configuration
4

Navigate to Language Models

Open the Admin Panel from your user profile icon, then open Language Models.
5

Connect Azure OpenAI

Under Add Provider, click Connect on the Azure OpenAI card.Paste the full Target URI. Onyx reads the API base, deployment name, and API version from it.Example: https://onyxazureai.openai.azure.com/openai/deployments/gpt-4.1/chat/completions?api-version=2025-01-01-previewThe URI must have one of these forms:
  • The base URL of the Azure OpenAI v1 API, for example https://onyxazureai.openai.azure.com/openai/v1/. This URL does not need an api-version. Onyx uses the v1 API version for it.
  • A URL with the api-version query parameter and either a deployment name in the path or the /openai/responses path.
Paste your API Key.Azure OpenAI provider setup dialog
6

Add Your Models

Azure does not expose a model list to Onyx. In the Models section, type the name of the model behind your deployment (for example, gpt-4.1) and click Add Model.Repeat for each deployment that shares this resource and API key.
7

Set Models Access

Under Models Access, choose All Users & Agents or Named Groups & Agents.With Named Groups & Agents, only the groups and agents you add can use this provider. Admins can always use it. See Language Model Access Controls.
Group-based access requires the Business tier or higher.
8

Connect

Click Connect. Onyx tests the deployment with one of the added models before it saves the provider.