Prerequisites
- Node.js 20.12 or later and npm installed
- An application project for the guided integration
- Access to your DNS provider for custom subdomain setup
Get started
Run this command from your application’s root directory:Guided integration
The CLI checks what’s already configured and applies the first missing step. The guided setup covers:- Identify visitors: install and configure the frontend integration to identify devices and generate identification events.
- Verify events on your backend: add a Server API call to retrieve identification results and Smart Signals for server-side decisions.
- Protect against ad blockers: set up a custom subdomain and update your app to use it once it’s active.
Custom subdomains
Choose Protect against ad blockers with a custom subdomain in the guided setup, or go directly to that step:active, then asks before updating your app’s Fingerprint configuration. If DNS takes longer, finish later: run the same command again, or accept the resume offer on the next npx fingerprint integrate, in the same project and workspace.
To manage subdomains without touching your application code, use the fingerprint subdomains commands. They take --json for scripts and coding agents.
Commands
Prefix these commands withnpx if you haven’t installed the CLI globally.
For the
subdomains subcommands and every option, including --json output, --ci for non-interactive runs, and --verbose for a detailed log, see the CLI README or run a command’s --help.
Troubleshooting
- Records aren’t validating: compare the host and value of each pending record with your DNS provider. On Cloudflare, check DNS only. See subdomain statuses.
- All records are validated, but the subdomain is pending: certificate setup is still running. Check its status later with
npx fingerprint subdomains get metrics.example.com; don’t recreate it. - Authentication failed: run
npx fingerprint loginto sign in again. - The browser can’t reach the CLI: sign-in and Domain Connect continue through a local callback on the same machine. Remote sessions need port forwarding.
--verbose. The detailed log is fingerprint-wizard.log in your system’s temporary directory. Review it before sharing it with Fingerprint support or in a CLI issue.