# How to find Azure OpenAI chat completions endpoint

Azure OpenAI now supports the latest GPT-5 models. By default, Azure AI Foundry only shows the Responses API endpoint.

Follow this guide to find the Chat Completions endpoint.

{% hint style="warning" %}
**Make sure your deployment is ready.**&#x20;

Follow this guide to create a new deployment [How to use Azure OpenAI API key in BoltAI](/docs/guides/how-to-use-azure-openai-api-key-in-boltai.md)
{% endhint %}

### How to find my deployment's Chat Completions endpoint and API key

Once your deployment is ready:

1. Navigate to "Chat"&#x20;
2. Select your deployment
3. Click View Code

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

**In the Sample Code dialog:**

1. Select "Key authentication"
2. Scroll down and you will find your Chat Completions endpoint (2) and API key (3)

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

### Set up a new AI service in BoltAI

In BoltAI, open Settings (`cmd + ,`) > Providers.&#x20;

* Click plus button (bottom left) and select Azure OpenAI.
* Fill the form and click Save Change.
* You're now ready to use the model in BoltAI

<figure><img src="/files/4NZ80R3ajz1a1yWUr5ZG" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.boltai.com/docs/troubleshooting/how-to-find-azure-openai-chat-completions-endpoint.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
