---
title: Using Mistral AI API Key in LobeChat
description: >-
Learn how to integrate Mistral AI into LobeChat for enhanced conversational
experiences. Follow the steps to configure Mistral AI and start using its
models.
tags:
- Mistral AI
- Web UI
- API key
---
# Using Mistral AI in LobeChat
The Mistral AI API is now available for everyone to use. This document will guide you on how to use [Mistral AI](https://mistral.ai/) in LobeChat:
### Step 1: Obtain Mistral AI API Key
- Create a [Mistral AI](https://mistral.ai/) account
- Obtain your [API key](https://console.mistral.ai/user/api-keys/)
### Step 2: Configure Mistral AI in LobeChat
- Go to the `Settings` interface in LobeChat
- Find the setting for `Mistral AI` under `Language Model`
If you are using mistral.ai, your account must have a valid subscription for the API key to work
properly. Newly created API keys may take 2-3 minutes to become active. If the "Test" button
fails, please retry after 2-3 minutes.
- Enter the obtained API key
- Choose a Mistral AI model for your AI assistant to start the conversation
During usage, you may need to pay the API service provider, please refer to Mistral AI's relevant
pricing policies.
You can now engage in conversations using the models provided by Mistral AI in LobeChat.