# Add and Update API Keys in GPT Mate

> Store your own OpenAI, Gemini, or Claude API keys in GPT Mate settings for private, scalable access to AI models from Google Sheets.

- Source: https://www.8apps.co/docs/gpt-mate/power-user-tip/managing-api-keys
- Markdown: https://www.8apps.co/docs/gpt-mate/power-user-tip/managing-api-keys.md
- Language: en

---
# Managing API Keys

GPT Mate allows you to use your own OpenAI, Google Gemini, or Anthropic Claude API keys for private and scalable access.

## How to Add or Update API Keys

- Open a Google Sheet.
- Go to Extensions > GPT Mate for Sheets > Settings.
- Under the API Keys section:
  - Enter your OpenAI API key if using OpenAI models. [See how to get your OpenAI API key](/docs/gpt-mate/generate-keys/get-openai-api-key).
  - Enter your Gemini API key if using Gemini models. [See how to get your Gemini API key](/docs/gpt-mate/generate-keys/get-gemini-api-key).
- Click Save after adding your keys.

:::note

- Make sure your API keys are active and have quota available.
- GPT Mate will automatically detect which key to use based on the model you select.
- You can update your keys anytime if you generate a new key.
  :::
