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

# Azure Foundry

Azure Foundry allows you to deploy and run OpenAI, Anthropic (Claude) models and more using Azure’s infrastructure. After deploying the model in Azure, you can connect it to TypingMind using the Claude Message API format.

Follow the steps below to set up your Claude model on Azure and integrate it into TypingMind.

## **Step 1: Add the model on Azure**

1. Log in to [**https://portal.azure.com**](https://portal.azure.com/) and select **Foundry**.
2. Choose your resource and open the **Foundry Portal**.

![image.png](https://mintcdn.com/typingmind/pm53BB_D69NXvWmb/manage-and-connect-ai-models/anthropic-models-via-azure/image.webp?fit=max\&auto=format\&n=pm53BB_D69NXvWmb\&q=85\&s=654036c1ae24ae20077d29ce00a2d4d3)

3. Go to **Model Catalog** → select a **Claude** model → click **Use this model**.

![image.png](https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/anthropic-models-via-azure/image%201.webp)

4. **Deploy** the model.

![image.png](https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/anthropic-models-via-azure/image%202.webp)

5. Open the deployment in **Playground** → click **View code**.

![image.png](https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/anthropic-models-via-azure/image%203.webp)

![image.png](https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/anthropic-models-via-azure/image%204.webp)

6. Switch to the **Key authentication** tab → switch to **cURL** to view the code sample.

From here, copy the following values:

* **Endpoint**
* **Anthropic API version**
* **Model ID**
* **API key**

![image.png](https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/anthropic-models-via-azure/image%205.webp)

## Step 2: Set up on TypingMind

Go to **Models → Add Custom Models**

Enter the following information:

* **Name:** Claude via Azure
* **API type:** switch to **Claude Message API**
* **Endpoint:** paste the endpoint you copied in Step 1
  * Format example: `https://[RESOURCE-NAME].openai.azure.com/anthropic/v1/messages`
* **Model ID:** your copied model ID
* **Add Custom Headers:**
  * `x-api-key: your-copied-api-key`
  * `anthropic-version: your-copied-anthropic-version`

![image.png](https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/anthropic-models-via-azure/image%206.webp)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.