Documentation / Portal · 02

02 · Setup: the credential boundary.

Setup is where the project, keys, origins, collector settings, and enforcement mode live. It is the page to configure once and revisit when a key or origin changes.

Last updated

Project configuration

The project name and allowed origins. Use complete origins such as https://example.com; local HTTP origins are allowed for development. An empty list does not enable customer collection.

Keys

A key pair is created with the project. The public key may live in page code; the secret may not.
KeyWhere it belongsWhat it can do
pk_… publicPage code, session manifestsIdentify the project. Cannot score or reveal anything.
sk_… secretBackend secret environmentAuthenticate scoring, config, usage, and settlement.
  • Reveal secret requires re-authentication; the value is shown for up to 60 seconds and is not stored in the browser.
  • Revoke stops backend requests using that key immediately. It cannot be undone.
  • Rotate key pair issues a new pair and invalidates the old one. Update your backend and public-key configuration afterward.
  • Trusted agent keys (Web Bot Auth) lets owners and admins pin workspace-specific Ed25519 public JWKs or HTTPS key directory URLs for RFC 9421 verification before global directory lookup.

Enforcement & alerts

The workspace is in monitor mode by default: every response reports enforce: false. Enforce mode reports enforce: true and lets your server act on the recommendation. You can tune custom allow (50–99) and block (10–60) thresholds directly in Setup → Enforcement (or via POST /api/trace/config), and configure active email and HTTPS webhook alerts with daily deduplication in the Alerts panel underneath.

POST /api/trace/configTurn enforcement on from the backend
curl --request POST "https://app.volance.com/api/trace/config" \
  --header "Authorization: Bearer $VOLANCE_SECRET_KEY" \
  --header "Content-Type: application/json" \
  --data '{"enabled": true, "thresholds": {"allow": 70, "block": 40}}'

Collector

The install surface is a reviewed ESM module at /trace.js on the portal origin. It has no side effects and never auto-starts. The snippet reads workspace settings from the session response, so it collects only what you enabled.

trace.jsInstall and start
import { createSiteCollector } from 'https://app.volance.com/trace.js';

const collector = createSiteCollector({ fingerprints: false });
collector.start({ consent: true });
const evidence = collector.stop();

The fingerprint tier is the one setting that changes the privacy promise. It is off by default, and the server drops fingerprint fields unless the workspace setting is on. For consented tests and playground demos there is a narrower collector at /trace-test.js: keydown/scroll timing only, inside an explicitly consented target element.

Backend request example

Setup includes a copyable curl request and JSON template. It is a server-side example: set VOLANCE_SECRET_KEY privately in the backend environment, never in browser code.

Workspace and account actions

  • This workspace: project id, role, default workspace, and a “make default” action.
  • Alerts: workspace notifications.
  • Change password: signs you out afterward.
  • Danger zone: delete the workspace (keys, sessions, members) or the account. Audit metadata and provider logs are retained.

Related

Free to start. 10,000 scores a month, one project, no credit card.

Get started free