# Identities

> Links an email address or a chat user to an app user or a contact. Rows come only from a one-time code the signed-in user issues and the service redeems, or from a confirmed address in auth.users.

- Category: Identity & access
- Module: `identities`
- Modes: `managed`
- Docs: https://bettersupabase.com/docs/blocks/identities
- Page: https://bettersupabase.com/blocks/identities

## Install

```bash
npx better-supabase add identities
```

## Configure

Add the block to `better-supabase.config.ts`:

```ts
import { defineConfig } from "better-supabase/config";

export default defineConfig({
  blocks: {
    // Modes: "managed". The default is "managed".
    identities: { mode: "managed" },
  },
});
```

## Client

The block has no React entry yet. Its server-side TypeScript is in `better-supabase/blocks/identities`.

## Related blocks

Works with: [contacts](https://bettersupabase.com/blocks/contacts.md)
