How to add a new connection in Azure AI Studio

Note

Azure AI Studio is currently in public preview. This preview is provided without a service-level agreement, and we don't recommend it for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.

In this article, you learn how to add a new connection in Azure AI Studio.

Connections are a way to authenticate and consume both Microsoft and third-party resources within your Azure AI projects. For example, connections can be used for prompt flow, training data, and deployments. Connections can be created exclusively for one project or shared with all projects in the same Azure AI hub resource.

Connection types

Here's a table of the available connection types in Azure AI Studio with descriptions:

Service connection type Description
Azure AI Search Azure AI Search is an Azure resource that supports information retrieval over your vector and textual data stored in search indexes.
Azure Blob Storage Azure Blob Storage is a cloud storage solution for storing unstructured data like documents, images, videos, and application installers.
Azure Data Lake Storage Gen 2 Azure Data Lake Storage Gen2 is a set of capabilities dedicated to big data analytics, built on Azure Blob storage.
Azure Content Safety Azure AI Content Safety is a service that detects potentially unsafe content in text, images, and videos.
Azure OpenAI Azure OpenAI is a service that provides access to the OpenAI GPT-3 model.
Microsoft OneLake Microsoft OneLake provides open access to all of your Fabric items through Azure Data Lake Storage (ADLS) Gen2 APIs and SDKs.
Git Git is a distributed version control system that allows you to track changes to files.
API key API Key connections handle authentication to your specified target on an individual basis. The API key is the most common third-party connection type.
Custom Custom connections allow you to securely store and access keys while storing related properties, such as targets and versions. Custom connections are useful when you have many targets that or cases where you wouldn't need a credential to access. LangChain scenarios are a good example where you would use custom service connections. Custom connections don't manage authentication, so you have to manage authentication on your own.

Create a new connection

  1. Sign in to Azure AI Studio and select your project via Build > Projects. If you don't have a project already, first create a project.
  2. Select AI project settings from the collapsible left menu.
  3. Select View all from the Connections section.
  4. Select + Connection under Resource connections.
  5. Select the service you want to connect to from the list of available external resources.
  6. Fill out the required fields for the service connection type you selected, and then select Create connection.

Connection details

When you create a new connection, you enter the following information for the service connection type you selected. You can create a connection that's only available for the current project or available for all projects associated with the Azure AI hub resource.

Note

When you create a connection from the Manage page, the connection is always created at the Azure AI hub resource level and shared accross all associated projects.

Next steps