> ## Documentation Index
> Fetch the complete documentation index at: https://cosmo-docs.wundergraph.com/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/RN72sgIyfy9HBPRO/images/studio/api-keys-management-page.png?fit=max&auto=format&n=RN72sgIyfy9HBPRO&q=85&s=c3e9eb8b452f2de6a201650bf4c29e78" 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/RN72sgIyfy9HBPRO/images/studio/api-key-creation-dialog.png?fit=max&auto=format&n=RN72sgIyfy9HBPRO&q=85&s=372e858b70c3c8262888f1a90a5436e5" 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/RN72sgIyfy9HBPRO/images/studio/api-key-generation-and-copy-prompt.png?fit=max&auto=format&n=RN72sgIyfy9HBPRO&q=85&s=3d57303104410af9a229a578ff902207" 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>
