Keeping your API keys safe
- Server only: use API keys only in server-side code. Never put them in website code, mobile apps or the widget embed code.
- Store them securely: use environment variables or a secrets manager, not source code or shared documents.
- Least access: scope a key to one microsite when that's all it needs.
- One key per integration: so you can revoke one without breaking the others.
- Revoke quickly: if a key may have leaked, revoke it in Settings → API Keys and create a new one.
- Never share it: our team and the AI assistant will never ask for your API key. Don't paste it into chat or email.