Setup
Everything you need to integrate ShieldLabs into your application.Setup checklist
Get your API keys
Register at dashboard.shieldlabs.ai, create a domain, and copy your Public Key and Secret Key.
→ API Keys guide
Add the JS snippet
Add one
<script type="module"> tag to your HTML. Takes 2 minutes.
→ SDK guideConfigure CSP
If you use Content-Security-Policy headers, add the required directives.
→ CSP guide
Register a webhook
Register your server endpoint to receive Trust Scores in real time.
→ Webhooks guide
Verify your domain (optional)
Add a TXT record to your DNS to confirm domain ownership.
→ Domain verification
Sections
API Keys
Public key, secret key — what each is used for
Environments
Development vs production configuration
CSP
Content-Security-Policy directives for ShieldLabs
Webhooks
Receive scores server-side with HMAC verification
Domain
Domain management and verification