Mistral AI API
How to Integrate Mistral AI with Jan
This guide provides step-by-step instructions for integrating the Mistral API with Jan, enabling users to utilize Mistral's capabilities within Jan's conversational interface.
Before proceeding, ensure you have the following:
- Access to the Jan Application
- Mistral API credentials
Integration Steps
Step 1: Configure Mistral API Key
- Obtain the Mistral API Key from your Mistral (opens in a new tab) dashboard.
- Copy your Mistral API Key.
- There are three ways to configure your API Key in Jan app:
- Navigate to the Jan app > Gear Icon (⚙️) > My Models tab > Add Icon (➕) next to Mistral.
- Navigate to the Jan app > Thread > Model tab > Add Icon (➕) next to Mistral.
- Navigate to the Jan app > Gear Icon (⚙️) > Mistral section under Model Providers.
- Insert your Mistral API Key.
- Mistral AI offers various endpoints. Refer to their endpoint documentation (opens in a new tab) to select the one that fits your requirements.
Step 2: Start Chatting with the Model
- Select the Mistral model you want to use.
The MistralAI is the default extension for the Jan application. All the Mistral models are automatically installed when you install the Jan application.
- Specify the model's parameters.
- Start the conversation with the Mistral model.
Troubleshooting
If you encounter any issues during the integration process or while using Mistral with Jan, consider the following troubleshooting steps:
- Double-check your API credentials to ensure they are correct.
- Check for error messages or logs that may provide insight into the issue.
- Reach out to Mistral API support for assistance if needed.