Get from zero to a working check() call in three steps.
Before you start
- Dashboard setup — KYI Framework On for your app
- Copy your application API key from the dashboard (Overview or app settings)
Step 1 — Install the SDK
Package: npm @abstraxn/warrant
Step 2 — Add environment variables
Create a .env file on your server (never commit real keys to git):
The SDK uses https://api-warrant.abstraxn.com when apiUrl is omitted. Set WARRANT_URL only for a custom host or local testing.
Step 3 — Create mandate, then check
A. Create mandate (application key):
B. Check before action (mandate key):
Checklist
What next?