# Configure for Mistral AI

1. Open Qt Creator settings and navigate to the QodeAssist section
2. Go to Provider Settings tab and configure Mistral AI api key
3. Return to General tab and configure:
   - Set "Mistral AI" as the provider for code completion or/and chat assistant
   - Set the OpenAI URL (https://api.mistral.ai)
   - Select your preferred model (e.g., mistral-large-latest)
   - Choose the Mistral AI template for code completion or/and chat

<details>
  <summary>Example of Mistral AI settings: (click to expand)</summary>

<img width="829" alt="Mistral AI Settings" src="https://github.com/user-attachments/assets/1c5ed13b-a29b-43f7-b33f-2e05fdea540c" />
</details>

