Dexter Connect
Dexter Connect brings a Dexter account into your application. Its owner can sign in with a passkey, use their wallet, or authorize an agent to act for them. Your app chooses the connection it needs and uses the SDK's controls to request it.
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
Sign In With Dexter gives your app a verified account session. Use it for a customer account, member area, or another feature that needs to know who signed in.
For wallet actions the owner performs in your app, follow Connect With Dexter. The owner connects their wallet and approves the operations you request.
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.
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: