diff --git a/docs/content/docs/concepts/database.mdx b/docs/content/docs/concepts/database.mdx index 5a41b55031..c07e7fe79e 100644 --- a/docs/content/docs/concepts/database.mdx +++ b/docs/content/docs/concepts/database.mdx @@ -5,10 +5,14 @@ description: Learn how to use a database with Better Auth. ## Adapters -Better Auth requires a database connection to store data. The database will be used to store data such as users, sessions, and more. Plugins can also define their own database tables to store data. +Better Auth connects to a database to store data. The database will be used to store data such as users, sessions, and more. Plugins can also define their own database tables to store data. You can pass a database connection to Better Auth by passing a supported database instance in the database options. You can learn more about supported database adapters in the [Other relational databases](/docs/adapters/other-relational-databases) documentation. + +Better Auth also works without any database. For more details, see [Stateless Session Management](/docs/concepts/session-management#stateless-session-management). + + ## CLI Better Auth comes with a CLI tool to manage database migrations and generate schema.