# How to create a new API key

# How do I create a new API key?

This article explains how to **create a new API key** for a service account. Follow these steps to create secure integration credentials. This helps you connect external tools to your workspace safely.

### In this article, you will learn how to

- **Create a new API key within an existing service account**.
- Fix basic initialization issues during key creation.

## Before you start

Before creating a new API key, make sure you have:
- **Admin access to your Flownally workspace**.
- An active service account created in your API Access settings.

> **Important:** The secret token is only displayed once during creation. Copy and store it securely right away because you cannot view it again later.

## How to create a new API key

1. Log in to your Flownally workspace.
2. Go to the **Settings** tab.
3. Go to the **API Access** section

![](/help-center/09-settings/02-API/01-01-service-accounts-list.png)

4. **Click on a service account**.
5. Click on the **Create key** button.

![](/help-center/09-settings/02-API/02-01-create-key.png)

6. Provide a **name** for the new key.
7. Click on the **Create key** button.

![](/help-center/09-settings/02-API/02-02-create-api-key.png)

8. Copy the API key.
9. Click on the **Done** button.

![](/help-center/09-settings/02-API/01-03-created-api-key.png)

## What happens after creating a new API key?

After creating a new API key, the secret token generates for your service account. External applications can use this authentication string to pass data to your workspace. The key becomes active and ready for your development integrations immediately.

## Troubleshooting

### Setup menu displays an authentication failure

This is caused by a temporary workspace communication delay. You need to reload your browser window and attempt the step again.

### Key field is hidden

This occurs because the system hides secret tokens after the first view for privacy reasons. You must [delete the broken credential](/settings/api/revoke-api-key) and create a fresh API key.

## Related articles

- [Flownally API Documentation](https://help.flownally.com/api)
- [How to create a service account](/settings/api/create-service-account)
- [How to revoke an API key](/settings/api/revoke-api-key)
- [How to delete a service account](/settings/api/delete-service-account)
