Step-by-Step Guide: How to Get Your Free Gemini API Key

Ver en Español

Google AI Studio provides a developer platform that lets you access Gemini models and generate an API key in under three minutes.

Step 1: Access Google AI Studio

  1. Open your browser and go to aistudio.google.com.

  2. Sign in with your Google account.

Step 2: Navigate to API Keys

  1. In the left-hand sidebar menu, locate and click on Get API key.

 

Step 3: Generate Your New Key

  1. Click the Create API key button.

  2. Choose your preferred setup option:

    • Name your key

    • Choose an imported project

Step 4: Copy and Secure Your Key

  1. Click Copy to save the generated token to your clipboard.