How to Create Your Azure OpenAI Resource

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.
  1. Sign in with your Microsoft account.
  1. In the left-hand sidebar, click Create a Resource.
    1. Notion image
  1. Search for β€œAzure OpenAI” and select it.
    1. Notion image

Step 2: Create Your Azure OpenAI Resource

  1. Choose the Azure OpenAI Service and Click Create.
    1. Notion image
  1. Choose the correct Subscription and Resource Group (create a new one if needed).
  1. Enter your Resource Name (this will be used in your Endpoint URL).
  1. Select a Region where Azure OpenAI is available.
    1. Notion image
  1. 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.
  1. In the left sidebar, click Keys and Endpoint.
    1. Notion image
  1. Copy the following details:
      • Endpoint (Resource URL) for OpenAI
      • API Key 1 (or Key 2 as a backup)

Step 4: Verify Model Deployments

Make sure your Azure OpenAI resource has a deployed model:

  1. Open the Deployments tab inside your Azure OpenAI resource.
    1. Notion image
  1. Click Create New Deployment.
    1. Notion image
  1. Select a model (e.g., gpt-4, gpt-3.5-turbo, etc.).
    1. Notion image
  1. Click Deploy.
Notion image
Notion image
Once deployed, this model can be accessed by Elephas using your API credentials.

Next Step: Connect to Elephas

Now that your Azure OpenAI resource is ready, continue to the next guide to link it with Elephas:

Did this answer your question?
😞
😐
🀩