docs/usage/providers/azure.mdx
<Image alt={'Using Azure OpenAI in LobeHub'} cover src={'/blog/assets17870709/5efa34c2-6523-43e6-9ade-70ab5d802e13.webp'} />
This guide will walk you through how to use Azure OpenAI in LobeHub:
<Steps> ### Step 1: Obtain Your Azure OpenAI API Key<Image alt={'Sign up for an Azure OpenAI account'} inStep src={'/blog/assets17870709/a77b0fb2-87d7-4527-a804-2f7ad3634aa5.webp'} />
Deployments page and create a new deployment using the model of your choice.<Image alt={'Create a new deployment with your selected model'} inStep src={'/blog/assets17870709/4fae3e6f-e680-4471-93c4-987c19d7170a.webp'} />
Chat page and click on View Code to retrieve your endpoint and API key.<Image alt={'Go to the Chat page'} inStep src={'/blog/assets17870709/ac10d9dd-a977-43fb-8397-b2bbdee6a1a1.webp'} />
<Image alt={'Retrieve your endpoint and API key'} inStep src={'/blog/assets17870709/ab94a7b5-6bc4-41e0-97bc-724ee8e315db.webp'} />
Settings panel in LobeHubAI Providers, locate the Azure OpenAI configuration section<Image alt={'Enter your API key'} inStep src={'/blog/assets17870709/63d9f6d4-5b78-4c65-8cd1-ff8b7f143406.webp'} />
<Image alt={'Select an Azure OpenAI model and start chatting'} inStep src={'/blog/assets17870709/ddb44517-8696-4492-acd9-25b590f6069c.webp'} />
<Callout type={'warning'}> You may incur charges from the API provider while using the service. Please refer to Azure OpenAI’s pricing policy for more details. </Callout> </Steps>
And that’s it! You’re now ready to start chatting with models powered by Azure OpenAI in LobeHub.