Create a key
- Open API keys in the dashboard.
- Press Create key and give it a name that says where it is used, such as "Staging server".
- Copy the secret. It is shown once and cannot be displayed again.
Key format
Preview keys start with pk_prev_. The dashboard shows only the start and the last four characters, so you can tell keys apart without exposing them.
Revoke a key
Revoke a key when it may have leaked or is no longer used. A revoked key stays in the list, marked revoked, until you delete it.
To rotate without downtime: create a new key, deploy it, confirm traffic works, then revoke the old one.
Where preview keys live
In this preview, keys are created in your browser and stored on this device only. Clearing site data removes them.