> ## Documentation Index
> Fetch the complete documentation index at: https://hyma.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Azure OpenAI

> Configure Hymalaia to use GPT models hosted on Azure OpenAI.

Hymalaia supports GPT models deployed through **Azure OpenAI** for full enterprise-level flexibility and control.

***

## 🛠 Setting up Azure OpenAI Endpoint

Follow these steps to integrate Azure OpenAI with Hymalaia:

### 1. Access Azure OpenAI Service

* Go to the [Azure Portal](https://portal.azure.com/)
* Search for **Azure OpenAI Service**

<img src="https://mintcdn.com/hyma/EBEMeMKngYY7m76X/images/azure.png?fit=max&auto=format&n=EBEMeMKngYY7m76X&q=85&s=296c554a6864c226b7ae293ff8926caf" className="rounded-xl shadow-md mx-auto" width="1424" height="1486" data-path="images/azure.png" />

### 2. Create a New Resource

* Click **"Create a resource"**
* Create a **new resource group**
* Fill in the required form fields to configure your instance

<img src="https://mintcdn.com/hyma/EBEMeMKngYY7m76X/images/azure-create.png?fit=max&auto=format&n=EBEMeMKngYY7m76X&q=85&s=fb80c3279b20a48f0cd309c9e6bc283b" className="rounded-xl shadow-md mx-auto" width="1646" height="1032" data-path="images/azure-create.png" />

### 3. Complete Deployment

* Wait for the deployment to finish
* Navigate to [Azure OpenAI Studio](https://oai.azure.com/)

### 4. Open the Chat Panel

* In the Studio, go to the **Chat** panel

<img src="https://mintcdn.com/hyma/EBEMeMKngYY7m76X/images/open-chat-panel.png?fit=max&auto=format&n=EBEMeMKngYY7m76X&q=85&s=e862fe8c11322f7c8a3b42344caccf25" className="rounded-xl shadow-md mx-auto" width="1810" height="1218" data-path="images/open-chat-panel.png" />

### 5. Deploy a Model

* Click **"Create a new deployment"**
* Select a **chat completion model** (e.g., `gpt-4`, `gpt-35-turbo`)

<img src="https://mintcdn.com/hyma/EBEMeMKngYY7m76X/images/deploy.png?fit=max&auto=format&n=EBEMeMKngYY7m76X&q=85&s=f287b81242ab0eedb1603c7ad338f1e7" className="rounded-xl shadow-md mx-auto" width="2678" height="1782" data-path="images/deploy.png" />

<img src="https://mintcdn.com/hyma/EBEMeMKngYY7m76X/images/deploy2.png?fit=max&auto=format&n=EBEMeMKngYY7m76X&q=85&s=fa72eda9838e9e141360aa71336c77b6" className="rounded-xl shadow-md mx-auto" width="1550" height="1562" data-path="images/deploy2.png" />

### 6. Configure Settings

* Choose your model, set any parameters
* Deploy it

### 7. Test the Configuration

* Use the chat bar on the right to test your model

<img src="https://mintcdn.com/hyma/EBEMeMKngYY7m76X/images/test-config.png?fit=max&auto=format&n=EBEMeMKngYY7m76X&q=85&s=189e192b1a5936ff8919b95ada35cf68" className="rounded-xl shadow-md mx-auto" width="1932" height="1572" data-path="images/test-config.png" />

### 8. Get Your Credentials

* Click **"View Code"** in the Studio

<img src="https://mintcdn.com/hyma/EBEMeMKngYY7m76X/images/viewCode.png?fit=max&auto=format&n=EBEMeMKngYY7m76X&q=85&s=6f3f1f16c2c1e3f1812c7a6f39ea6b73" className="rounded-xl shadow-md mx-auto" width="1912" height="538" data-path="images/viewCode.png" />

* Copy the following credentials:

  * `API version`: The string after `?api-version=...`
  * `API Base`: The `Endpoint` URL
  * `API Key`: The obfuscated API key

<img src="https://mintcdn.com/hyma/EBEMeMKngYY7m76X/images/locate.png?fit=max&auto=format&n=EBEMeMKngYY7m76X&q=85&s=84792baa2a237a4ed034f412305aad1f" className="rounded-xl shadow-md mx-auto" width="432" height="110" data-path="images/locate.png" />

***

## ✅ Using with Hymalaia

1. Go to the **Admin Panel**
2. Select **LLM Providers**
3. Choose **Azure OpenAI**
4. Paste in your credentials:
   * **API Base**
   * **API Key**
   * **API Version**
   * **Deployment name** (the name you used during model deployment)

Hymalaia will now route queries through your Azure-hosted GPT model.

***
