- Go to Google AI Studio (aistudio.google.com/apikey).
- Sign in with your Google account.
- Click "Create API key" and select a project (or create one).
- Copy the generated key and paste it in the field above.
Note: Google may require you to link a billing account (credit card or billing address) to activate the API key. While the free tier is generous,
usage beyond free limits may incur small charges on your Google account. Monitor your usage at
Google Cloud Console.