Configure Mistral

The Mistral AI API enables you to leverage language models for generating content and audio transcription within applications like PagibleAI. The Mistral AI Platform often provides initial free credits or a free tier for developers to experiment and integrate the API, offering a limited usage allowance. For higher usage volumes or specific model access, you can transition to paid plans.

1. Access Mistral AI Platform

The Mistral AI Platform is the primary portal for easily obtaining a Mistral AI API key for development and testing.

  • Navigate to Mistral AI Platform: Go to https://console.mistral.ai/
  • Sign in: Log in using your existing Mistral AI account credentials or sign up for a new account.
Login/signup form with email and social login options.

2. Create a Mistral AI API Key

Once you're logged in, generating your API key is straightforward.

  • Navigate to API keys: In the left sidebar or top navigation, look for a section like "API Keys" or "Settings" then "API Keys".
  • Click "Create new key": Click a button such as "New API key" or "Generate key".
  • Name your key (Optional): You can provide a name for your key to help you organize them (e.g., "PagibleAI Integration").
  • Copy your API key: Once the key is generated, ensure you copy the displayed API key immediately, as it may not be shown again.
The image displays a web interface for managing API keys. It shows a sidebar with navigation, where "API Keys" is selected. The main content area is titled "Your API keys," providing options to create new keys, filter existing ones, and view a list of personal API keys with their names, masked keys, creation dates, and expiration status. There's also information about organization API keys and the limit of 50 active keys per organization. UI for creating a new API key with a pre-filled name "Pagible AI".

3. Add to PagibleAI CMS

Once you have your Mistral AI API key, you need to add it to your PagibleAI .env file:

MISTRAL_API_KEY="..."