> ## Documentation Index
> Fetch the complete documentation index at: https://wundergraphinc-worktree-playful-rolling-lecun.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-worktree-playful-rolling-lecun/WtLlYKmMbys59kv_/images/studio/api-keys-management-page.png?fit=max&auto=format&n=WtLlYKmMbys59kv_&q=85&s=08eb742818871a47f30da436331bb49b" 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-worktree-playful-rolling-lecun/WtLlYKmMbys59kv_/images/studio/api-key-creation-dialog.png?fit=max&auto=format&n=WtLlYKmMbys59kv_&q=85&s=b81379b7c877f41c549a3e7981327bcf" 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-worktree-playful-rolling-lecun/WtLlYKmMbys59kv_/images/studio/api-key-generation-and-copy-prompt.png?fit=max&auto=format&n=WtLlYKmMbys59kv_&q=85&s=319ff2e2586d1241702a6a6418648eb2" 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>
