--- title: Using Azure AI API Key in LobeChat description: Learn how to configure and use Azure AI models in LobeChat, get the API key, and start a conversation. tags: - LobeChat - Azure AI - API Key - Web UI --- # Using Azure AI in LobeChat {'Using [Azure AI](https://azure.microsoft.com) is an open artificial intelligence technology platform based on the Microsoft Azure cloud platform. It provides various AI functionalities, including natural language processing, machine learning, and computer vision, helping businesses easily develop and deploy AI applications. This document will guide you on how to integrate Azure AI models into LobeChat: ### Step 1: Deploy Azure AI Project and Model - First, visit [Azure AI Foundry](https://ai.azure.com/) and complete the registration and login process. - After logging in, select `Browse models` on the homepage. {'Accessing - Choose the model you want in the model marketplace. - Enter the model details and click the `Deploy` button. {'Browsing - In the pop-up dialog, create a new project. {'Creating For detailed configuration of Azure AI Foundry, please refer to the [official documentation](https://learn.microsoft.com/azure/ai-foundry/model-inference/). ### Step 2: Obtain the Model's API Key and Endpoint - In the details of the deployed model, you can find the Endpoint and API Key information. - Copy and save the obtained information. {'Obtaining ### Step 3: Configure Azure AI in LobeChat - Visit the `App Settings` and `AI Service Provider` interface in LobeChat. - Find the settings for `Azure AI` in the list of providers. {'Entering - Enable the Azure AI service provider and fill in the obtained Endpoint and API Key. For the Endpoint, you only need to fill in the first part: `https://xxxxxx.services.ai.azure.com/models`. - Choose an Azure AI model for your assistant and start the conversation. {'Selecting You may need to pay the API service provider for usage. Please refer to Azure AI's relevant pricing policies. Now you can use the models provided by Azure AI in LobeChat for conversations.