# Create API keys

> Create PandaSuite API keys to connect external tools and automations to your account: choose the access to each resource, copy the secret once, then edit or revoke the key.

https://docs.pandasuite.com/account/security/api-keys/

**An API key lets an external tool or an automation access the PandaSuite API on behalf of your account. You choose what each key can access, and you can revoke it at any time.**

## Create an API key

1. In the dashboard, click your name at the bottom left, then **Account**, and open the **Security** tab.
2. In **API Keys**, click **Create API Key**.
3. In **Name**, enter a name that helps you recognize the key later, for example the tool that uses it.
4. In **Permissions**, choose the access level of the key for each resource: **None**, **Read**, or **Write** (write includes read).
   - **Projects**: your Studio projects.
   - **Publications**: published content and folders.
   - **Channels**: distribution channels and binaries.
   - **Account**: account profile and settings.
5. Click **Create API Key**. The button stays disabled until the key has a name and at least one permission.

[Image: Create API Key window: the key name, and the framed Permissions: Write for Projects and Publications, Read for Channels, None for Account]

6. The **API Key Created** window shows the **Secret key**. Copy it now and store it somewhere safe: for security reasons, PandaSuite never shows it again. Click **Done**.

> **Warning**
>
> Anyone who has the secret key can access the API with the permissions you
> granted. Never share it in a public place. If a key leaks, revoke it and
> create a new one.

## Manage your API keys

The **API Keys** list shows each key with its **Name**, the last characters of the **Key**, its number of **Scopes** (hover over it to see them), its **Created** date, and its **Last Used** date.

[Image: API Keys section of the Security tab: two keys with their name, end of key, scopes and dates, and the framed Create API Key button]

- **Edit a key**: click the pencil icon. In the **Edit API Key** window, change the name or the permissions, then click **Save changes**. The secret does not change.
- **Revoke a key**: click the trash icon, then **Revoke** in the **Revoke API Key** window. Every tool that uses this key loses access immediately.

If [two-step authentication](https://docs.pandasuite.com/account/security/two-step-authentication/) is on, PandaSuite asks you to verify your identity before you see or change your keys: click **Verify**, then confirm with one of your methods.

## See also

- [Manage connected apps](https://docs.pandasuite.com/account/security/connected-apps/)
- [Set up two-step authentication](https://docs.pandasuite.com/account/security/two-step-authentication/)
