Back to Blog

How to Securely Configure Your Gemini API Keys

M
By Mohamed Wael

Clowdy uses your personal Google Gemini API keys to operate. This keeps your costs at zero since Google AI Studio offers robust free tiers for testing. However, keeping these credentials secure is a critical priority.

1. Generating Your Keys

Visit Google AI Studio (aistudio.google.com), log in with your Google Workspace or personal account, and select "Create API Key". Avoid sharing this key with anyone. Clowdy stores your key locally in an environment variable named GEMINI_API_KEY.

2. Local Variable Integration

When launching Clowdy on your Windows machine, the client check looks for local variable parameters. To set it permanently in Windows:

setx GEMINI_API_KEY "your_actual_api_key_here"

Alternatively, the Clowdy client setup GUI provides a secure input mask that saves it encrypted in local configurations. Your keys are never transmitted to MWAEL.DEV servers, ensuring total privacy.