Seeded demo for a fictional SaaS — nothing here is a real account. Sign up to see your own

Get started

Setup is complete. This page stays here — your connection details are at the bottom of this page.

Create your API key

Key created. Everything your app needs is in Your connection details at the bottom of this page.

Add TokenPolice to your app, then run it

First call received — TokenPolice is watching your traffic. See it on your dashboard →

Set your first budget and spending rule

Your first spending rule is set. Change it, and decide when it starts stopping calls, under Firewall & Budgets →

Your connection details

The two values your app needs. Not a step — they stay on this page, and they're still here when everything above is ticked.

TOKENPOLICE_API_KEY=tp_sk_hel…a1b2
TOKENPOLICE_BASE_URL=https://collector.tokenpolice.ai
API keytp_sk_hel…a1b2 (hidden)
Where reports gohttps://collector.tokenpolice.ai

Your app reads both as TOKENPOLICE_API_KEY and TOKENPOLICE_BASE_URL.