Authorization
Mistral AI
Prerequisites
Before creating a Mistral AI credential, you need to obtain your API key, model name, and base URL from your Mistral AI account. Mistral AI uses API key authentication for all API requests, with the API key sent in the Authorization header with the Bearer prefix.
To obtain your Mistral AI API credentials, follow these steps:
-
Sign in to your Mistral AI account using your administrator credentials, or create a new account at Mistral AI.
-
Navigate to your account dashboard or settings section.
-
Look for the API Keys or API section in your account settings.
-
If you don't have an API key yet, click Generate API Key or Create API Key to create a new API key.
-
Copy the API key immediately after it's generated, as it may not be accessible again after you navigate away from the page.
-
Identify the model name you want to use (e.g.,
mistral-small-latest,mistral-medium-latest,mistral-large-latest). Model names are available in the Mistral AI documentation and may vary based on your account type and available models. -
Identify the base URL for the LLM API endpoint. The base URL is typically
https://api.mistral.ai/v1/chat/completionsfor chat completion endpoints, but may vary based on your specific use case and endpoint requirements. -
Store all credentials securely, as you will need them to configure your Nexla credential. The API key is sensitive information and should be kept confidential.
The API key is sent in the Authorization header with the Bearer prefix (e.g., Authorization: Bearer {api_key}) for all API requests to the Mistral AI API. The model name determines which Mistral AI model will be used for processing requests. The base URL specifies the endpoint for LLM API calls. The API key authenticates your requests and grants access to Mistral AI resources based on your account permissions. If your API key is compromised, you should immediately revoke it in your Mistral AI account settings and generate a new one. For detailed information about obtaining API keys, API authentication, available models, and API endpoints, refer to the Mistral AI API documentation.
Create a Mistral AI Credential
- To create a new Mistral AI credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
New Credential Overlay – Mistral AI

Credential Name & Description
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
Resource descriptions are recommended but are not required. They should be used provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.
Client Authentication
Mistral AI uses API key authentication for all API requests. The API key is sent in the Authorization header with the Bearer prefix to authenticate API requests to the Mistral AI API.
-
Enter your Mistral AI API key in the API Key Value field. This is the API key you obtained from your Mistral AI account settings (API Keys section). The API key is sent in the
Authorizationheader with theBearerprefix for all API requests to the Mistral AI API. The API key is sensitive information and must be kept confidential. -
Enter the model name in the Model Name field. This should be the name of the Mistral AI model you want to use (e.g.,
mistral-small-latest,mistral-medium-latest,mistral-large-latest). The model name determines which Mistral AI model will be used for processing requests. Model names are available in the Mistral AI documentation and may vary based on your account type and available models. -
Enter the base URL for the LLM API endpoint in the Base Url for the LLM Call field. This should be the complete endpoint URL for the LLM API call on Mistral AI (e.g.,
https://api.mistral.ai/v1/chat/completions). The base URL specifies the endpoint for LLM API calls and may vary based on your specific use case and endpoint requirements.Your Mistral AI API key can be found in your Mistral AI account settings under the API Keys section. The API key is sent in the
Authorization: Bearer {api_key}header for all API requests to the Mistral AI API. The model name determines which Mistral AI model will be used for processing requests, and the base URL specifies the endpoint for LLM API calls.If your API key is compromised, you should immediately revoke it in your Mistral AI account settings and generate a new one. The API key provides access to your Mistral AI account and should be treated as sensitive information. Keep your API key secure and do not share it publicly.
For detailed information about obtaining API keys, API authentication, available models, and API endpoints, see the Mistral AI API documentation.
Save the Credential
-
Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.
-
The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.