Sandbox
Use the test ledger to integrate safely before go-live.
In the Company Portal, open Developer → Sandbox or Integration Center.
Test keys do not mint compliance proofs.
smm_test_keys record consent so you can exercise grant, status, revoke, the hosted widget, and webhook Send Test Event. That test send is a sample payload for HMAC verification — not live fan-out. Automaticconsent.recordeddelivery requiressmm_live_keys.
How sandbox works
The test ledger uses API keys with prefix smm_test_. Data is isolated from production. Integration Center provides:
- Environment banner (test vs live)
- Integration health snapshot (API, policy, widget, webhooks)
- Widget sandbox — full consent flow in-browser
- Quick links to API keys, origins, policies, webhooks
In the SDK, pass environment: "test" with a test key — SDK Guide.
Why proof generation is limited in test
The test ledger prioritizes fast feedback (consent, widget) without the full production proof, receipt, timestamp, or automatic webhook planes.
| Capability | Test ledger | Live ledger |
|---|---|---|
| Consent grant/update/revoke | Yes | Yes |
| Widget sessions | Yes | Yes |
| Webhook endpoint registration | Yes | Yes |
| Webhook verification (Send Test Event) | Yes | Yes |
Automatic consent.recorded on consent writes | No | Yes |
Merkle proof READY | Limited / not production-equivalent | Yes |
| Evidence Link JWT + TSA | Not a compliance artifact | Yes |
| Live verification UI | No | Yes |
Test webhook workflow: register an endpoint → Send Test Event → verify HMAC → check Deliveries.
Live webhook workflow: same test path in staging, then automatic events after real consent on smm_live_*.
Do not treat test-ledger proof status as compliance evidence. Validate proofs on live keys in staging.
Widget sandbox
Run the embedded widget inside the portal against your test key and published policy.
Guide: Widget Guide
How to move to Live
- Complete onboarding milestones in the portal.
- Resolve integration health blockers (policy published, origins set; webhook recommended).
- Review production readiness in Integration Center.
- Create a live API key (
smm_live_) — gated until readiness checks pass. - Set
environment: "live"and the live key in your deployment. - Run Live Verification under Platform health.
Live verification
After switching to live keys, use Platform health to confirm:
- Consent path end-to-end
- Webhook delivery
- Proof generation, Evidence Link JWT, and TSA timestamp
Next steps
- Quick Start — first test-ledger integration
- Authentication
- Production Checklist