Files
formbricks-formbricks/docs/api-reference/generate-key.mdx

44 lines
1.5 KiB
Plaintext

---
title: "Generate API Key"
icon: "key"
description: "Here is how you can generate an API key which gives you full access to the Formbricks Management API. Keep it safe!"
---
<Note>
As of now, API keys are located in the Project Configuration page. We are moving them to the Organization Settings page in the upcoming release. For you, nothing will change.
</Note>
## Generate API key
<Steps>
<Step title="Navigate to 'Configuration'">
Go to the Configuration page of your project:
![Configuration Page](/images/api-reference/config.webp)
</Step>
<Step title="Access 'API Keys' tab">
Click on the **API Keys** tab.
</Step>
<Step title="Generate key">
Decide if you want to generate a key for the development or production environment. If you want to switch environemnts you can do so in the top right corner. Click on the corresponding button.
</Step>
<Step title="Add a label to your key">
Add a label to your key to help you identify it.
![Label key](/images/api-reference/label.webp)
</Step>
<Step title="Copy your key">
Copy the API key and save it in a secure location. You won't be able to see it again.
<Note>
Store API key safely! Anyone who has your API key has full control over your
account. For security reasons, you cannot view the API key again.
</Note>
</Step>
</Steps>
## Delete API key
- On **Configuration** > **API Keys** page, find the key you wish to revoke and select “Delete”.
- Your API key will stop working immediately.