Create an API Key
API keys connect your website to SilentShield. Each key is tied to a specific domain.
1. Open API Keys
In your dashboard, click "API Keys" in the sidebar, then click "Create New Key".
2. Configure the Key
- Name — A descriptive label (e.g., "Main Website", "Shop Contact Form")
- Domain — The domain where the widget will run (e.g., example.com)
- Environment — Choose Production or Development
3. Copy Your Key
After creation, your API key is displayed. Copy it now — for security reasons, it will only be shown in full once.
Security Note
Your API key will be visible in your website's source code — this is normal and by design. The key is tied to your registered domain, so it cannot be misused on other websites. Never share your key outside of your frontend code.
Rotating Keys
If you suspect your key has been compromised, you can rotate it in the dashboard under API Keys → Key → Rotate. The old key will stop working immediately.