# Mistral.ai API Setup

Talemate can use Mistral.ai for text generation.

You need to have an API key for Mistral.ai and set it in the application config. You can manage your Mistral.ai API keys at [https://console.mistral.ai/api-keys/](https://console.mistral.ai/api-keys/)

Once you have your key open the Talemate settings and click the `APPLICATION` tab and then the `MISTRAL.AI` category. Here you can add your Mistral.ai API key.

![Open settings](/talemate/img/0.26.0/open-settings.png)

![Set Mistral.ai Api Key](/talemate/img/0.26.0/mistral-settings.png)

Then click `Save` to save your changes.