Skip to content

Quickstart

Five minutes from zero to a consented, auto-filled form.

Sign up at portal.pryvc.com. You’ll get a public client_id (pc_…) immediately.

The Share button only runs on domains you’ve proven you own. In Requests → Domains, add your domain and create the DNS TXT record shown:

TXT _pryvc.yourdomain.com pryvc-verify=<token>

Click Verify once DNS propagates.

In Requests, create a template with the fields you need. Businesses can request any subset of:

first_name last_name email phone address_line1 address_line2 city state zip country company date_of_birth*

* date_of_birth is opt-in only for consumers.

Paste the generated snippet next to (or inside) your form:

<script
src="https://cdn.pryvc.com/v1/pryvc.js"
data-client-id="pc_your_client_id"
data-fields="first_name,last_name,email,phone"
data-purpose="Quote request"
data-duration="90d"
data-mode="fill"
></script>

That’s it. The SDK renders an accessible button, opens the consent popup, and fills your form with exactly the fields the consumer approves.

Activate your subscription ($299/yr) in Billing. Until then, use sandbox mode to test the full flow with fake data.

  1. The SDK generates a PKCE pair and opens app.pryvc.com/authorize in a popup.
  2. The consumer signs in and approves (or trims) the requested fields.
  3. PRYVC mints a single-use code (60-second TTL) and posts it back to your page — origin-checked in both directions.
  4. The SDK redeems the code (POST /v1/share/redeem) and receives the field payload exactly once. The code burns atomically.
  5. Both parties get a fingerprinted, timestamped record; you get a share.created webhook.