# RefactKit > SaaS Multitenancy Boilerplate for B2c and B2b ## Docs - [Authentication in RefactKit](https://docs.refactkit.com/concepts/authentication.md): RefactKit supports email/password and Google OAuth out of the box. Learn how sign-up, sign-in, email verification, and password reset work for your users. - [How multi-tenancy works in Kit](https://docs.refactkit.com/concepts/multi-tenancy.md): RefactKit isolates data inside organizations. Learn how workspaces are structured, how tenants stay separate, and how URL slugs map to each organization. - [Roles and permissions in RefactKit](https://docs.refactkit.com/concepts/roles-permissions.md): RefactKit has three organization roles: Member, Admin, and Owner, each with distinct capabilities. See the permissions matrix and learn how roles are assigned. - [Deploy RefactKit to production](https://docs.refactkit.com/configuration/deployment.md): Step-by-step guide to deploying RefactKit on Vercel with Nitro v3, plus how to target Cloudflare Workers, Node.js, and other runtimes. - [RefactKit environment variable reference](https://docs.refactkit.com/configuration/environment-variables.md): A complete reference for every environment variable RefactKit requires, grouped by service, with guidance on where to find each value. - [Customize the RefactKit design system](https://docs.refactkit.com/configuration/theming.md): How RefactKit's Base UI, Tailwind CSS v4, and Shadcn theme layer fit together, and how to change colors, fonts, and light/dark mode. - [Configure your RefactKit environment](https://docs.refactkit.com/environment-setup.md): Set up your RefactKit .env file before first run. Covers auth, database, storage, and email variables with guidance on finding each value in the right place. - [Define and manage your database schema](https://docs.refactkit.com/guides/database.md): Use Drizzle ORM to define PostgreSQL tables in RefactKit, enforce tenant isolation with organizationId, push schema changes, and query data in server functions. - [Send transactional emails with Resend](https://docs.refactkit.com/guides/emails.md): Configure Resend in RefactKit to send invitation, verification, and password reset emails. Add your API key and verify your sending domain to enable email flows. - [Upload and serve files with Supabase Storage](https://docs.refactkit.com/guides/file-uploads.md): Implement secure file uploads in RefactKit by routing all uploads through a server function, keeping your service role key off the client at all times. - [Build forms with TanStack Form and Base UI](https://docs.refactkit.com/guides/forms.md): Build accessible, validated forms in RefactKit with TanStack Form and Base UI. Learn the FieldGroup composition pattern, validation state, and multi-field forms. - [Add multilingual support to your app](https://docs.refactkit.com/guides/internationalization.md): Extend RefactKit's i18n system built on i18next and React context to add new locales, translation keys, and direction-aware fonts for LTR and RTL languages. - [Add pages and routes to RefactKit](https://docs.refactkit.com/guides/routing.md): Learn how file-based routing works in RefactKit, how to create organization-scoped pages, protect routes with beforeLoad, and seed the SSR cache efficiently. - [RefactKit: production-ready SaaS foundation](https://docs.refactkit.com/introduction.md): RefactKit is a multi-tenant SaaS boilerplate on TanStack Start and React 19. Authentication, organizations, RBAC, i18n, and file storage all pre-configured. - [Get started with RefactKit](https://docs.refactkit.com/quickstart.md): Clone RefactKit, set your environment variables, sync the database schema, and start the dev server. A full multi-tenant app running locally in under 10 minutes.