# Configure for Google AI

1. Open Qt Creator settings and navigate to the QodeAssist section
2. Go to Provider Settings tab and configure Google AI api key
3. Return to General tab and configure:
   - Set "Google AI" as the provider for code completion or/and chat assistant
   - Set the OpenAI URL (https://generativelanguage.googleapis.com/v1beta)
   - Select your preferred model (e.g., gemini-2.0-flash)
   - Choose the Google AI template

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

<img width="829" alt="Google AI Settings" src="https://github.com/user-attachments/assets/046ede65-a94d-496c-bc6c-41f3750be12a" />
</details>

