Before you can connect Azure OpenAI with Elephas, you need to set up your Azure OpenAI resource and get your API credentials.
This guide walks you through everything — from creating the resource to finding your endpoint and key.
Visit Azure Portal.
Sign in with your Microsoft account.
In the left-hand sidebar, click Create a Resource.

Search for “Azure OpenAI” and select it.

Choose the Azure OpenAI Service and Click Create.

Choose the correct Subscription and Resource Group (create a new one if needed).
Enter your Resource Name (this will be used in your Endpoint URL).
Select a Region where Azure OpenAI is available.

Click Review + Create, then Create again to finalize.
💡 Tip: Choose a region that supports the model family you plan to use (like GPT-4 or GPT-3.5).
Once your resource is created:
Go to your Azure OpenAI Resource.
In the left sidebar, click Keys and Endpoint.

Copy the following details: