> For the complete documentation index, see [llms.txt](https://tailwindsdocs.innovativesol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailwindsdocs.innovativesol.com/readme/chatflows/langchain/embeddings/azure-openai-embeddings.md).

# Azure OpenAI Embeddings

## Prerequisite

1. [Log in](https://portal.azure.com/) or [sign up](https://azure.microsoft.com/en-us/free/) to Azure
2. [Create](https://portal.azure.com/#create/Microsoft.CognitiveServicesOpenAI) your Azure OpenAI and wait for approval approximately 10 business days
3. Your API key will be available at **Azure OpenAI** > click **name\_azure\_openai** > click **Click here to manage keys**

<figure><img src="/files/oxGzK3GrSvdIBjExuJXl" alt=""><figcaption></figcaption></figure>

## Setup

### Azure OpenAI Embeddings

1. Click **Go to Azure OpenaAI Studio**

<figure><img src="/files/HVV1AF3d2OcSIHxVTafG" alt=""><figcaption></figcaption></figure>

2. Click **Deployments**

<figure><img src="/files/mrg8czQHQL7pmgbYzovS" alt=""><figcaption></figcaption></figure>

3. Click **Create new deployment**

<figure><img src="/files/GZhhEQ9F0qiL1q9CetpQ" alt=""><figcaption></figcaption></figure>

4. Select as shown below and click **Create**

<figure><img src="/files/kw2NqCxMvIToCxzy2CEu" alt="" width="559"><figcaption></figcaption></figure>

5. Successfully created **Azure OpenAI Embeddings**

* Deployment name: `text-embedding-ada-002`
* Instance name: `top right conner`

<figure><img src="/files/2GTH6RkvjqpCQewSWnDW" alt=""><figcaption></figcaption></figure>

### Tailwinds

1. **Embeddings** > drag **Azure OpenAI Embeddings** node

<figure><img src="/files/3HUdOyAXhHTfFaGwSLHH" alt="" width="563"><figcaption></figcaption></figure>

2. **Connect Credential** > click **Create New**

<figure><img src="/files/W0vcLLsW6fVdBsA81Tic" alt="" width="386"><figcaption></figcaption></figure>

3. Copy & Paste each details (API Key, Instance & Deployment name, [API Version](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)) into **Azure OpenAI Embeddings** credential

<figure><img src="/files/jSqYIcTVMaT7HZEFxPSP" alt="" width="554"><figcaption></figcaption></figure>

4. Voila [🎉](https://emojipedia.org/party-popper/), you have created **Azure OpenAI Embeddings node** in Tailwinds

<figure><img src="/files/W53TmmWWXT5LwR2wXFXc" alt=""><figcaption></figcaption></figure>

## Resources

* [LangChain JS Azure OpenAI Embeddings](https://js.langchain.com/docs/modules/data_connection/text_embedding/integrations/azure_openai)
* [Azure OpenAI Service REST API reference](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference)
