Skip to content
DexterDocs
Dexter Connect
Sections

Dexter Connect

Dexter Connect provides passkey sign-in, wallet approval and agent authorization. The examples in these guides use the earlier Dexter Wallet. For the new on-chain Dexter Account, request beta access.

The account holds the money and records the activity. Its owner can use it across apps and authorize different agents; changing an app or agent preserves that ownership.

Choose an Integration

For an owner with a passkey from the earlier Wallet, Sign In With Dexter gives your app a verified session. Use it for a customer account, member area, or another feature that needs to know who signed in.

For owner-approved operations on an existing Vault, follow Connect With Dexter. The owner connects their Wallet and approves each requested operation.

Bring Your Own Agent connects an agent through the owner's approval flow. The owner chooses permissions and spending limits; the agent receives a token for that connection.

Your app knows which account signed in and can serve that account's content.

Your App to Dexter: Request Sign-In. Owner to Dexter: Approve With Passkey. Dexter to Your App: Verified Identity.OwnerYour AppDexterRequestSign-InApprove With PasskeyVerifiedIdentity
Your app installs the returned account session. Its backend verifies the session token on subsequent requests.
Verify an Account Session
import { createDexterClient } from '@dexterai/connect/server';

const dexter = createDexterClient();

export async function GET(request: Request) {
  const session = await dexter.authenticateRequest(request);
  if (!session.isSignedIn) {
    return new Response('Unauthorized', { status: 401 });
  }
  return Response.json({ accountId: session.sub });
}

This server handler reads the Bearer token in the Authorization header. Apply your app's access rules before returning private content.

The Connect reference covers connection states, session storage, and switching or disconnecting an identity.

To connect an existing client such as Claude or Cursor, use OpenDexter setup.

Last Updated:

On this page