Viewing Your API Keys
The API Keys page displays all your active keys with the following information:Creating an API Key
1
Open API Keys
Go to Settings → API Keys
2
Click Create
Click Create API Key (or Create New API Key if you already have keys)
3
Enter a Name
Provide a descriptive name to help you identify this key (e.g., “Production Server”, “CI/CD Pipeline”, “Local Development”)
4
Set Expiration (Optional)
Click the date picker to set an expiration date for the key. If left empty, the key will never expire.
5
Create and Copy
Click Create API Key. Your new key will be displayed. Copy it immediately using the copy button.
Viewing API Key Usage
Monitor how your API keys are being used:1
Open Key Menu
Click the … (three dots) menu button on the key you want to inspect
2
Select View Usage
Click View Usage to open the usage statistics dialog
Regenerating an API Key
If you suspect a key has been compromised or need to rotate keys:1
Open Key Menu
Click the … (three dots) menu button on the key
2
Select Regenerate
Click Regenerate from the dropdown menu
3
Confirm
Review the warning that the current key will be invalidated, then click Regenerate
4
Copy New Key
Copy your new API key immediately - it won’t be shown again
Deleting an API Key
1
Open Key Menu
Click the … (three dots) menu button on the key
2
Select Delete
Click Delete from the dropdown menu
3
Confirm Deletion
Review the warning, then click Delete to permanently remove the key
Using API Keys
Include your API key in theX-API-Key header when making requests:
Using API Keys with IDE & MCP Integrations
API keys also authenticate connections from AI coding tools like Claude Code, Cursor, and Claude Desktop via the MCP (Model Context Protocol) server.Claude Code Plugin
The Kasava plugin prompts for your API key during setup and stores it securely in your system keychain. No manual configuration needed.Manual MCP Setup
For Cursor, Claude Desktop, or other MCP clients, include your API key as a Bearer token:Best Practices
- Use descriptive names - Name keys after their purpose (e.g., “GitHub Actions CI”, “Claude Code”, “Cursor”)
- Set expiration dates - For temporary access or compliance requirements, set keys to expire
- Rotate regularly - Regenerate keys periodically to limit exposure if a key is compromised
- Monitor usage - Check usage statistics to detect unexpected activity
- Never commit keys - Store API keys in environment variables or secrets managers, never in code
- One key per integration - Create separate keys for each tool so you can revoke individually
Related
General Settings
Account preferences
Organization
Team and usage management