Skip to main content

Setup

Everything you need to integrate ShieldLabs into your application.

Setup checklist

1

Get your API keys

Register at dashboard.shieldlabs.ai, create a domain, and copy your Public Key and Secret Key. → API Keys guide
2

Add the JS snippet

Add one <script type="module"> tag to your HTML. Takes 2 minutes. → SDK guide
3

Configure CSP

If you use Content-Security-Policy headers, add the required directives. → CSP guide
4

Register a webhook

Register your server endpoint to receive Trust Scores in real time. → Webhooks guide
5

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