1. Get API Key from Google AI Studio (for Gemini models)

🔗 Link: https://aistudio.google.com/app/apikey

Steps:

  1. Sign in to your Google account.

  2. Go to Google AI Studio:
    https://aistudio.google.com/app/apikey

  3. Accept terms if prompted.

  4. Click "Create API Key".

  5. Copy your API key and store it securely.
    You’ll use this with tools or libraries (e.g., @google/generative-ai in JavaScript or Python SDK).

🛡️ Google may restrict access based on region or account age.

2. Get API Key from OpenAI (platform.openai.com)

🔗 Link: https://platform.openai.com/account/api-keys

Steps:

  1. Sign in to https://platform.openai.com.

  2. Navigate to:
    https://platform.openai.com/account/api-keys

  3. Click "+ Create new secret key".

  4. Copy the key immediately.
    You won’t be able to see it again.

  5. Use this key with OpenAI SDKs (e.g., openai library in Python or Node.js).

3. Get API Key from Azure OpenAI

Steps:

  1. Go to Azure Portal:
    https://portal.azure.com

  2. Open your Azure OpenAI Resource:

  3. In the left-hand menu, click "Keys and Endpoint".

  4. You’ll see: