Back to Lobehub

Using Mistral AI API Key in LobeHub

docs/usage/providers/mistral.mdx

2.1.561.6 KB
Original Source

Using Mistral AI in LobeHub

<Image alt={'Using Mistral AI in LobeHub'} cover src={'/blog/assets17870709/a3f9f63a-48f8-4567-b960-7f3636c0d4ed.webp'} />

The Mistral AI API is now publicly available. This guide will walk you through how to use Mistral AI in LobeHub:

<Steps> ### Step 1: Get Your Mistral AI API Key

<Image alt={'Create API Key'} inStep src={'/blog/assets17870709/79faa59a-dfc0-4365-a679-5fc12c12bc70.webp'} />

Step 2: Configure Mistral AI in LobeHub

  • Go to the Settings panel in LobeHub
  • Under AI Providers, locate the Mistral AI configuration section

<Image alt={'Enter API Key'} inStep src={'/blog/assets17870709/ba8e688a-e0c1-4567-9013-94205f83fc60.webp'} />

<Callout type={'warning'}> If you're using mistral.ai, your account must have an active subscription for the API key to function properly. Newly created API keys may take 2–3 minutes to become active. If clicking the "Test" button fails, please try again after a few minutes. </Callout>

  • Paste your API key into the input field
  • Choose a Mistral AI model for your assistant to start chatting

<Image alt={'Select Mistral AI model and start chatting'} inStep src={'/blog/assets17870709/82cf4f5c-be5c-4126-a475-3a03468a9c39.webp'} />

<Callout type={'warning'}> You may incur charges from the API provider during usage. Please refer to Mistral AI’s pricing policy for more details. </Callout> </Steps>

You're all set! You can now start chatting with models powered by Mistral AI in LobeHub.