DEV Community

Adam Miedema
Adam Miedema

Posted on • Originally published at msty.ai

How to Set Up Azure OpenAI in Msty Studio - A Step-by-Step Guide

#ai

If you're looking to combine the power of OpenAI’s large language models (LLMs) with the security and scalability of Microsoft’s cloud infrastructure, Azure OpenAI is the way to go. With this service, you can access state-of-the-art models like GPT in a way that's enterprise-ready. Meaning, you get all the cutting-edge AI capabilities, plus the security, compliance, and integration tools your organization needs.

In this guide, we’ll walk through how to set up Azure OpenAI and connect it to Msty Studio.


Getting Started with Azure OpenAI

Before diving in, make sure you have an Azure account and access to the Azure OpenAI service. Once that’s ready, follow these steps to deploy your first model.

🚀 Set Up Azure OpenAI

  1. Head to the Azure Portal.
  2. Use the top search bar to look for Azure OpenAI.
  3. If you don’t already have a resource, click Create Azure OpenAI.
  4. Follow the prompts to configure and create your new resource.
  5. Once it's created, select the resource from your list.
  6. At the top of the resource page, click Go to Azure AI Foundry Portal.

  7. In the Foundry portal, click Deployments from the left-hand menu.

  8. Click the Deploy Model button in the top menu. Choose between a base or fine-tuned model.

  9. In the popup, select the model you want, then hit Confirm and Confirm and Continue.

  10. After deployment, you’ll see the Target URI. Copy it—you’ll need it later.

  11. Just below the URI, you’ll find the Key. Copy that too.

Your Target URI will look something like this:

https://<your-resource-name>.cognitiveservices.azure.com/openai/deployments/<model-name>?api-version=<api-version>
Enter fullscreen mode Exit fullscreen mode

From that, make note of:

  • your-resource-name
  • model-name
  • api-version

You’ll need all three for the next part.


Connecting Azure OpenAI to Msty Studio

Now that you’ve deployed your model, it’s time to plug everything into Msty Studio.

🔧 Msty Studio Setup

  1. Go to Msty Studio.
  2. Click Model Hub in the left-hand menu.
  3. Select Add Provider.
  4. Choose Azure OpenAI from the list.
  5. Paste your Key into the API Key field.
  6. In the Base URL field, paste the first part of your Target URI:
   https://<your-resource-name>.cognitiveservices.azure.com/openai/deployments
Enter fullscreen mode Exit fullscreen mode

(Alternatively, you can just enter your Resource Name instead.)

  1. Enter your API Version.
  2. Select the model(s) you've deployed. All available models will appear, but you can only use the ones tied to your Azure resource.
  3. Click Add Provider to finish.

🎉 Start Chatting with Your Model

That’s it! Head over to the chat interface in Msty Studio and strike up a conversation with your Azure OpenAI model.


Setting up Azure OpenAI might feel technical at first, but once it’s connected to Msty Studio, working with advanced AI becomes intuitive and even fun. Whether you're building enterprise tools or experimenting with creative prompts, this setup gives you a solid foundation to explore what's possible.

Top comments (0)

Heroku

Build AI apps faster with Heroku.

Heroku makes it easy to build with AI, without the complexity of managing your own AI services. Access leading AI models and build faster with Managed Inference and Agents, and extend your AI with MCP.

Get Started

👋 Kindness is contagious

Explore this insightful piece, celebrated by the caring DEV Community. Programmers from all walks of life are invited to contribute and expand our shared wisdom.

A simple "thank you" can make someone’s day—leave your kudos in the comments below!

On DEV, spreading knowledge paves the way and fortifies our camaraderie. Found this helpful? A brief note of appreciation to the author truly matters.

Let’s Go!