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.

Step 1: Log in to Azure Portal

  1. Visit Azure Portal.

  2. Sign in with your Microsoft account.

  3. In the left-hand sidebar, click Create a Resource.

    CleanShot 2025-10-29 at 11.11.26@2x.png

  4. Search for “Azure OpenAI” and select it.

    CleanShot 2025-10-29 at 11.12.51@2x.png

Step 2: Create Your Azure OpenAI Resource

  1. Choose the Azure OpenAI Service and Click Create.

    CleanShot 2025-10-29 at 11.19.03@2x.png

  2. Choose the correct Subscription and Resource Group (create a new one if needed).

  3. Enter your Resource Name (this will be used in your Endpoint URL).

  4. Select a Region where Azure OpenAI is available.

    CleanShot 2025-10-29 at 11.31.16@2x.png

  5. 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).

Step 3: Get Your API Key and Endpoint

Once your resource is created:

  1. Go to your Azure OpenAI Resource.

  2. In the left sidebar, click Keys and Endpoint.

    CleanShot 2025-10-29 at 11.36.28@2x.png

  3. Copy the following details:

Step 4: Verify Model Deployments