> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/credentials/azureaisearch.md).

# Azure AI Search credentials

You can use these credentials to authenticate the following nodes:

* [Azure AI Search Vector Store](/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.vectorstoreazureaisearch.md)

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

* An [Azure subscription](https://azure.microsoft.com)
* An Azure AI Search service created in the [Azure Portal](https://portal.azure.com/)

## Supported authentication methods <a href="#supported-authentication-methods" id="supported-authentication-methods"></a>

This node uses API key authentication.

## Related resources <a href="#related-resources" id="related-resources"></a>

Refer to [Azure AI Search documentation](https://learn.microsoft.com/azure/search/) for more information about the service.

## Using API key <a href="#using-api-key" id="using-api-key"></a>

To configure this credential, you'll need:

* **Endpoint**: Your Azure AI Search service URL (format: `https://your-service.search.windows.net`)
* **API Key**: Admin key (read-write) or query key (read-only)

To get these values:

1. Navigate to your Azure AI Search service in the [Azure Portal](https://portal.azure.com/)
2. Copy the **URL** from the **Overview** section
3. Go to **Settings** > **Keys** and copy:
   * **Admin key** for full read-write access, or
   * **Query key** for read-only querying
4. Enter these values in n8n

{% hint style="info" %}
**API key permissions**

Admin keys provide full access including index creation and deletion. Query keys provide read-only access. Choose based on your workflow requirements.
{% endhint %}

## Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

### Authentication errors <a href="#authentication-errors" id="authentication-errors"></a>

**API key authentication fails**:

* Verify the API key is correct and hasn't been regenerated in Azure Portal
* Confirm you're using an admin key for write operations (insert/update)
* Check that the key hasn't expired or been rotated

### Connection issues <a href="#connection-issues" id="connection-issues"></a>

* Verify endpoint URL format: `https://your-service.search.windows.net`
* Confirm your Azure AI Search service is running
* Check network security rules and firewall settings allow access from your n8n instance
