1
Request access and sign in to the dashboard
Heretic is currently in early access. Head to heretic.quest/dashboard and sign in with your account. If you do not have an account yet, request access from the same page — the apostate tier is free and gives you the full signal catalogue immediately upon approval.
2
Create a site and copy your API key
Inside the dashboard, create a new site for the domain you want to protect. Once the site is created, navigate to heretic.quest/dashboard/keys and copy the secret API key. You will use this key to authenticate server-side calls to the explain endpoint.
3
Install the collector
Add the
@heretic-hq/collector package to your project with your preferred package manager.4
Initialise the collector on your page
Import and initialise the collector as early as possible in your page lifecycle — ideally before any user-interaction handlers fire. The collector generates a unique session ID, runs all probes out-of-band against your origin, and returns the session ID you will pass to your server.Pass
sessionId to your server in whatever way fits your stack — a hidden form field, a request header such as X-Heretic-Session, or a JSON body field.5
Read the verdict on your server
On your server, call the explain endpoint with the session ID before you trust the request. The endpoint returns a full verdict object you can act on immediately.A successful response looks like this:
Apostate tier — free early access. The apostate plan gives you full access to the entire Heretic signal catalogue at no cost during early access. There are no signal limits, no sampled verdicts, and no time-boxed trial. When paid tiers launch, you will receive advance notice before anything changes.

