Creating Google Developer Account
To use Gemini, you need to create an account on Google AI (opens in a new tab). Once you have created an account, you can get your API key from the API page (opens in a new tab). Afterwards in your .env file, you need to make the following changes:
Replacing API Key
Replace your-gemini-api-key
with your original Gemini API key
from API page (opens in a new tab).

A figure displaying how to create your own api key on Google AI Studio.