To use the Gemini API, you'll need to create an API Key via Google AI Studio. Follow this link to get a free API key: Google AI Studio - API Key.