Azure AI Foundry Quickstart
Get started with Azure AI Foundry in 15 minutes. This quickstart will have you deploying your first AI model and making API calls.What you’ll accomplish
- Create an Azure AI Foundry hub
- Deploy a chat model
- Make your first API call
- Test the model in the playground
Prerequisites
- An Azure subscription (create one free)
- Basic familiarity with REST APIs
Step 1: Create your hub (2 minutes)
- Go to Azure AI Foundry portal
- Sign in with your Azure account
- Click “Create new hub”
- Fill in:
- Name:
quickstart-hub - Subscription: Your Azure subscription
- Resource group: Create new →
rg-ai-quickstart - Location:
East US 2
- Name:
- Click “Create”
Step 2: Deploy a model (3 minutes)
- From your hub, click “Explore models”
- Search for
GPT-4o mini - Click the model card, then “Deploy”
- Choose “Serverless API”
- Set:
- Deployment name:
gpt-4o-mini-quickstart - Content filter:
Default
- Deployment name:
- Click “Deploy”
Step 3: Get your API credentials (1 minute)
- Go to “Deployments”
- Click your
gpt-4o-mini-quickstartdeployment - Copy the Endpoint URL and API Key
Step 4: Make your first API call (2 minutes)
Test your deployment with this curl command:YOUR_ENDPOINT_URL and YOUR_API_KEY with your actual values.
You should get a response like:
Step 5: Try the playground (2 minutes)
- In your project, go to “Playground” → “Chat”
- Select your deployment
- Type:
Explain quantum computing in simple terms - Press Enter
Step 6: Try different conversation styles (5 minutes)
In the playground, experiment with different prompts: Creative writing:What’s next?
🎉 Congratulations! You’ve successfully:- Created an Azure AI Foundry hub
- Deployed your first AI model
- Made API calls to generate AI responses
- Explored interactive chat in the playground
Ready to build something real?
Build a Chat App
Create a full chat application with authentication and memory
Explore Models
Try different AI models for various tasks
Need help with specific tasks?
Deploy Models
Learn different deployment options and configurations
Use the SDK
Integrate AI into your applications with SDKs
Troubleshooting
Can’t create a hub?- Verify your Azure subscription is active
- Check that you have Contributor permissions
- Try a different region if capacity is limited
- Ensure you have sufficient quota
- Check the deployment logs for specific errors
- Try deploying in a different region
- Verify your endpoint URL and API key are correct
- Check that your model deployment status is “Succeeded”
- Ensure you’re using the correct API format
This quickstart gave you hands-on experience with the core Azure AI Foundry workflow. You learned by doing - deploying models, making API calls, and testing responses. Ready to go deeper? Choose your next step based on what you want to build.

