# Better Auth DevTools > Better Auth DevTools is a development-only panel for Better Auth apps. Create test users from templates, switch sessions in one click, inspect the live session, and edit roles without logging out. Canonical website: https://www.better-auth-devtools.com ## Quick start 1. Install: `pnpm add better-auth-devtools` 2. Add `devtools({ enabled: true })` from `better-auth-devtools` to the `plugins` array of `betterAuth()`. 3. Create the plugin table with a CLI version matching your app's Better Auth version: `pnpm exec auth migrate` (or `pnpm exec auth generate` for Prisma and Drizzle, followed by your ORM migration). 4. Render `` from `better-auth-devtools/react` in a client component. Keep the existing auth config and verify a managed user switch in the app's normal Better Auth session. Agent setup guide: https://www.better-auth-devtools.com/install-agent.md. The endpoints are always disabled when `NODE_ENV=production`. ## Important content - [Website overview](https://www.better-auth-devtools.com/index.md): What the package does, the four setup steps, role testing, security model, and FAQ. - [Project documentation](https://github.com/C-W-D-Harshit/better-auth-devtools#readme): Full setup, security model, API options, and troubleshooting. - [Agent installation guide](https://www.better-auth-devtools.com/install-agent.md): Setup and session verification in an existing app. - [npm package](https://www.npmjs.com/package/better-auth-devtools): Published package and version information. Pages support explicit content negotiation with `Accept: text/markdown`. The website overview is also available directly at `https://www.better-auth-devtools.com/index.md`.