Skip to main content
Identity verification lets your agent know who the user is — enabling personalized support and persistent conversations.

What You Get

How It Works

  1. User logs into your app
  2. Your backend mints an Argide identity token (JWT signed with your Argide secret)
  3. Your frontend calls window.argide('identify', { token })
  4. Widget now knows who the user is
This is not your app’s session JWT. It’s a separate Argide-scoped identity token that your backend mints specifically for Argide. Your app JWT stays private.

1. Get Your Secret

Go to dashboard.argide.ai/dashboard/deploy/widget → copy Verification Secret. Add to your backend environment:
Never expose this secret in frontend code.

2. Create Backend Endpoint

JWT Payload

3. Identify in Frontend

With the React SDK, pass getIdentityToken to the widget component. The SDK calls it on mount and auto-refreshes when the token expires — no manual polling needed.
That’s it. No useEffect, no setInterval, no window.argide('identify') calls.

4. Handle Logout


Troubleshooting