> ## Documentation Index
> Fetch the complete documentation index at: https://wundergraphinc-brendan-add-sof-link.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# API Keys

> This page enables the management of API tokens for automation purposes, such as CI/CD or local CLI usage.

The API keys are used to authorize the user to perform actions using [wgc](/cli/intro) (Wundergraph Cosmo CLI Command). On the overview, we display all keys across the organization. Only members of role Admin and Developer have the ability to create new keys.

<Frame>
  <img src="https://mintcdn.com/wundergraphinc-brendan-add-sof-link/znnH7GFKh4R4ntTv/images/studio/api-keys-management-page.png?fit=max&auto=format&n=znnH7GFKh4R4ntTv&q=85&s=8bcda796b3b2b3ccb5ffa8ba72766dcd" alt="Cosmo Studio API keys management page showing an organization API key list with options to create new keys." title="API keys management page" width="3194" height="2156" data-path="images/studio/api-keys-management-page.png" />
</Frame>

### How to create an API Token

* Click on the New API Key button.

* Give the API key a name, select the expiry, the group and then click on "Generate API key".

<Frame>
  <img src="https://mintcdn.com/wundergraphinc-brendan-add-sof-link/znnH7GFKh4R4ntTv/images/studio/api-key-creation-dialog.png?fit=max&auto=format&n=znnH7GFKh4R4ntTv&q=85&s=e17be8ef355294734079018ae24a33f5" alt="Create API key dialog with fields for name, expiry, and group selection." title="API key creation dialog" width="1088" height="830" data-path="images/studio/api-key-creation-dialog.png" />
</Frame>

* Once the API key is generated, it will be displayed for the user to copy it.

<Info>
  The API Key will be displayed only once. Please copy the API key and store it securely.
</Info>

<Frame>
  <img src="https://mintcdn.com/wundergraphinc-brendan-add-sof-link/znnH7GFKh4R4ntTv/images/studio/api-key-generation-and-copy-prompt.png?fit=max&auto=format&n=znnH7GFKh4R4ntTv&q=85&s=5b22642f1ee64fbeba536baebf1779e3" alt="API key generated prompt showing a one-time view of the new key with copy and confirmation options." title="API key generation and copy prompt" width="1096" height="580" data-path="images/studio/api-key-generation-and-copy-prompt.png" />
</Frame>
