Tenant Onboarding
Create tenants, invite operators, and configure webhooks.
Tenant Onboarding
This guide walks through the practical path from account creation to a production-ready integration.
1) Environments
Use separate tenants, API keys, webhook URLs, and secrets for each environment:
- Development
- Staging
- Production
Never reuse production keys outside production.
2) Create API Keys
- Log in to the Naiza dashboard
- Navigate to Settings → API Keys
- Create a key for each environment
- Store the key in a secret manager or CI secret store
3) Choose Your Integration Surface
Pick the APIs that match your product surface:
- Server-side risk decisions:
POST /api/v1/decisions/evaluate - Server-side event ingestion:
POST /api/v1/events(sync) orPOST /api/v1/events/async - Browser signals:
POST /api/v1/websdk/tokens+POST /api/v1/websdk/signals - Operational automation: lists + feedback + webhooks
4) Webhooks
- Create a subscription:
POST /api/v1/webhooks/subscriptions - Persist
signingSecretimmediately (returned once) - Implement signature verification using raw request bytes
- Use
POST /api/v1/webhooks/subscriptions/:id/testto validate connectivity
See Webhooks in the API Reference.
5) Sandbox Testing Checklist
- Validate
401handling for missing/invalid keys - Validate
400/422handling for invalid payloads - Validate
429backoff behavior - Confirm webhook retries do not double-apply side effects (idempotency)
6) Go-Live
- Enable monitoring dashboards for decision volume and error rates
- Define operational runbooks for key rotation and incident response
- Document internal ownership for webhook endpoint uptime