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.

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.



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.

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 anapi-version. Onyx uses thev1API version for it. - A URL with the
api-versionquery parameter and either a deployment name in the path or the/openai/responsespath.

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.
