> For the complete documentation index, see [llms.txt](https://docs.mindmac.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mindmac.app/how-to.../add-api-key/create-google-ai-api-key.md).

# Create Google AI API key

### Step 1: Create API key

Go to <https://makersuite.google.com/app/apikey> and click **Create API key in existing project**

<figure><img src="/files/PqGJrAZkXfIRZvnKqza5" alt=""><figcaption></figcaption></figure>

### Step 2: Select a project and click Create new API key

<figure><img src="/files/f9XIHrsh6q0z4EMSLcjH" alt=""><figcaption></figcaption></figure>

### Step 3: Copy the API key. Keep it secret.

<figure><img src="/files/8D6pxmmLQvJXzEFItFaF" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/bR8VqjZvmMenH3piKdlp" alt=""><figcaption></figcaption></figure>

Now go to [Add API key](/how-to.../add-api-key.md) and use copied API key to create new endpoint.
