🔑Create Azure OpenAI API Key

Step 1: Create Azure OpenAI resource

Go to https://portal.azure.com/#home, and click Create a resource.

Search for Azure OpenAI and select it.

Select plan and click Create.

Enter below information and click Next.

Configure your network preference and click Next.

Click Next.

Review and click Create.

It may take some minutes to deploy new resource.

Step 2: Grab API key, location & endpoint URL

When the resource has been deployed successfully, go back to https://portal.azure.com/#home and click on that resource.

On tab Overview, copy key, location/region and endpoint URL. You will need them later.

Step 3: Create new deployment

Switch to tab Model deployments and click Manage Deployments. You will be redirect to Azure OpenAI Studio.

Click Create new deployments.

Enter deployment model information and click Create. It may take some minutes to start a deployment.

Copy the deployment name.

Step 4: Construct full endpoint URL

Full endpoint URL has this format:

{your-endpoint}/openai/deployments/{deployment-id}/chat/completions?api-version={api-version}

where:

For example: https://mindmac.openai.azure.com/openai/deployments/mindmac-gpt-35-turbo/chat/completions?api-version=2023-05-15.

Now use this full URL and the key from Step 2: Grab API key, location & endpoint URL to create new API endpoint in MindMac. More details at Add API key.

Last updated