Edit

Share via


Create a project for Azure AI Foundry

This article describes how to create an Azure AI Foundry project. Projects are folders that let you organize your work for exploring new ideas, and as you're prototyping on a particular use cases.

Azure AI Foundry supports two types of projects: a Foundry project and a hub based project. For more information about the differences between these two project types, see Types of projects.

Tip

The rest of this article shows how to create a hub based project. Select Foundry project at the top of this article if you want to create a Foundry project instead.

  • A hub based project is hosted by an Azure AI Foundry hub. If your company has an administrative team that created a hub for you, you can create a project from that hub. If you're working on your own, you can create a project and a default hub is automatically be created for you.

  • Use this project type for:

  • This project can also be used for:

    • Agents (preview)
    • Project-level isolation of files and outputs
    • Evaluations
    • Playgrounds

Prerequisites

Use the following tabs to select the method you plan to use to create a hub based project:

  • An Azure subscription. If you don't have an Azure subscription, create a free account.

Create a project

To create a hub based project in Azure AI Foundry, follow these steps:

Tip

Because you can customize the left pane in the Azure AI Foundry portal, you might see different items than shown in these steps. If you don't see what you're looking for, select ... More at the bottom of the left pane.

  1. Sign in to Azure AI Foundry.

  2. Select any existing project if you aren't already in one.

  3. At the bottom of the left pane, select Management center.

  4. At the top of the page, select All resources.

  5. Select Create.

  6. Select AI hub resource.

  7. Enter a name for the project.

  8. If you have a hub, you'll see the one you most recently used selected.

    • If you have access to more than one hub, you can select a different hub from the dropdown.

    • If you want to create a new one, select Create new hub and supply a name.

      Screenshot of the project details page within the create project dialog.

  9. If you don't have a hub, a default one is created for you.

  10. Select Create.

Or, if you want to customize a new hub, follow the steps in the next section before you select Create.

Customize the hub

A hub based project exists inside a hub. A hub allows you to share configurations like data connections with all projects, and to centrally manage security settings and spend. If you're part of a team, hubs are shared across other team members in your subscription. For more information about the relationship between hubs and projects, see the hubs and projects overview documentation.

When you create a new hub, you must have Owner or Contributor permissions on the selected resource group. If you're part of a team and don't have these permissions, your administrator should create a hub for you.

While you can create a hub as part of the project creation, you have more control and can set more advanced settings for the hub if you create it separately. For example, you can customize network security or the underlying Azure Storage account. For more information, see How to create and manage an Azure AI Foundry hub.

When you create a new hub as part of the project creation, default settings are provided. If you want to customize these settings, do so before you create the project:

  1. In the Create a project form, select the arrow on the right side.

    Screenshot of the customize button within the create project dialog.

  2. Select an existing Resource group you want to use, or leave the default to create a new resource group.

    Tip

    Especially for getting started we recommend you create a new resource group for your project. The resource group allows you to easily manage the project and all of its resources together. When you create a project, several resources are created in the resource group, including a hub, a container registry, and a storage account.

  3. Select a Location or use the default. The ___location is the region where the hub is hosted. The ___location of the hub is also the ___location of the project. Azure AI services availability differs per region. For example, certain models might not be available in certain regions.

  4. Select Create a project. You see progress of the resource creation. The project is created when the process is complete.

View project settings

On the project Overview page, you can find information about the project.

Screenshot of an Azure AI Foundry project settings page.

  • Name: The name of the project appears in the top left corner. You can rename the project using the edit tool.
  • Subscription: The subscription that hosts the hub that hosts the project.
  • Resource group: The resource group that hosts the hub that hosts the project.

Select Management center to navigate to the project resources in Azure AI Foundry portal. Select Manage in Azure portal to navigate to the project resources in the Azure portal.

Access project resources

Common configurations on the hub are shared with your project, including connections, compute instances, and network access, so you can start developing right away.

In addition, many resources are only accessible by users in your project workspace:

  • Components including datasets, flows, indexes, deployed model API endpoints (open and serverless).

  • Connections created by you under 'project settings.'

  • Azure Storage blob containers, and a fileshare for data upload within your project. Access storage using the following connections:

    Data connection Storage ___location Purpose
    workspaceblobstore {project-GUID}-azureml-blobstore Default container for data uploads
    workspaceartifactstore {project-GUID}-azureml Stores components and metadata for your project such as model weights
    workspacefilestore {project-GUID}-code Hosts files created on your compute and using prompt flow

Note

Storage connections aren't created directly with the project when your storage account has public network access set to disabled. These are created instead when a first user accesses Azure AI Foundry over a private network connection. Troubleshoot storage connections

Tip

The rest of this article shows how to create a Foundry project. Select hub based project at the top of this article if you want to create a hub based project instead.

  • A Foundry project is built on an Azure AI Foundry resource. This project type allows for a simple setup, access to agents, and industry leading models from OpenAI, Mistral, Meta, and more.

  • This project type gives you the best support for:

    • Agents
    • AI Model Inference including Azure Open AI
    • AI Foundry API that works with agents and across models
    • Project files (directly upload files and start experimenting)
    • Evaluations
    • Fine-tuning
    • Playgrounds

Prerequisites

Use the following tabs to select the method you plan to use to create a Foundry project:

  • An Azure subscription. If you don't have an Azure subscription, create a free account.
  • You must be Owner of the subscription to receive the appropriate access control needed to use the project.

Create a project

To create a Foundry project in Azure AI Foundry, follow these steps:

  1. Go to Azure AI Foundry. If you are in a project, select Azure AI Foundry at the top left of the page to go to the Home page.
  2. In the middle of the page, select Start building. This creates a project and also include steps to start working with a basic agent.
  3. Or select + Create project in the top right corner of the page if you have existing projects. This creates the project alone, without extra steps to start working with an agent.
  4. Enter a name for the project.
  5. Select Create. Or, if you want to customize your settings, follow the steps in the next section.

Advanced options

A Foundry project is created on an AIServices resource. This resource is created for you automatically when you create the project.

To customize the settings for your project, follow these steps:

  1. In the Create a project form, select Advanced options.

  2. Select an existing Resource group you want to use, or leave the default to create a new resource group.

    Tip

    Especially for getting started we recommend you create a new resource group for your project. The resource group allows you to easily manage the project and all of its resources together.

  3. Select a Location or use the default. The ___location is the region where the hub is hosted. Azure AI services availability differs per region. For example, certain models might not be available in certain regions.

  4. Select Create. You see progress of resource creation and the project is created when the process is complete.

CLI comannds not currently available for creating a Foundry project.

Create multiple projects on the same resource

Create multiple Foundry projects on an existing AI Services resource, so you can share your environment with your team for collaboration.

Foundry projects as Azure child resources may get assigned their own access controls, but share common settings such as network security, deployments, and Azure tool integration from their parent resource.

Your first project (default project) plays a special role and has access to more features:

Feature Default Foundry project Nondefault Foundry project
Model inference
Playgrounds
Agents
Evaluations
Connections
AI Foundry API that works with agents and across models
Project-level isolation of files and outputs
Azure OpenAI with Batch, StoredCompletions, Fine-tuning
Backwards compatible with project-less {account}.cognitiveservices.com data plane API
Content safety
  • To add a nondefault project to a resource:

    Tip

    Because you can customize the left pane in the Azure AI Foundry portal, you might see different items than shown in these steps. If you don't see what you're looking for, select ... More at the bottom of the left pane.

    1. In Azure AI Foundry, select either the Foundry project or its associated resource.

    2. In the left pane, select Management center.

    3. In the resource section, select Overview.

    4. Select New project and provide a name.

      Screenshot shows how to create a second project on an existing resource.

  • If you delete your Foundry resource's default project, the next project created will become the default project.

View project settings

On the project Home page, you can find information about the project.

  • Name: The name of the project appears in the top left corner. You can rename the project using the edit tool.
  • Subscription: The subscription that hosts the hub that hosts the project.
  • Resource group: The resource group that hosts the hub that hosts the project.