> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getporter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Gemini

> Guide on generating Google Gemini API keys and using them in Porter AI.

***

## Access Google AI Studio

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/promm/images/ko/gemini01.png" />
</Frame>

> Go to [https://aistudio.google.com](https://aistudio.google.com) and sign up or log in.

## Generate API Keys

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/promm/images/ko/gemini02.png" />
</Frame>

> Click `Get API key` at the top, then click the `Create API key` button to generate an API key.

<Tip>
  API keys are only visible once after generation, so be sure to store it securely. If you lose your API key, you can delete the existing key from the dashboard and generate a new one.
</Tip>

<Note>
  Google AI Studio API keys can be used for free up to a certain limit. For detailed information, see the [Gemini API Pricing page](https://ai.google.dev/gemini-api/docs/pricing).
</Note>

## Register API Key in Porter AI

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/promm/images/ko/gemini03.png" />
</Frame>

> In `Settings > Models`, click the <Icon icon="gear" iconType="solid" size={15} color="9fa3a5" /> icon for Google Gemini and enter your API key.

<Tip>
  Once you add your API key, Gemini model usage will be charged to your Google credits.
</Tip>

## Add Models

<Frame>
  <img className="block rounded-md" src="https://files.cloudtype.io/promm/images/ko/gemini05.png" />
</Frame>

> Once you've registered an API key, you can add additional Gemini models beyond the default ones. Simply provide a display name (shown in chats) and the official Gemini model name.

<Tip>
  You can find the list of model names available via API on the [Gemini models documentation page](https://ai.google.dev/gemini-api/docs/models). The highlighted section in the screenshot below shows the model name format.

  <Frame>
    <img className="block rounded-md" src="https://files.cloudtype.io/promm/images/ko/gemini04.png" />
  </Frame>
</Tip>

<Note>
  For fine-tuned models, you can add them by entering the custom model name you configured.
</Note>
