---
title: "Configuration"
description: "Environment, database, and framework settings required to run Better Auth Studio."
canonical_url: "https://docs-cloud-kinfe123-better-auth-studio.farming-labs.dev/docs/configuration"
markdown_url: "https://docs-cloud-kinfe123-better-auth-studio.farming-labs.dev/docs/configuration.md"
last_updated: "2018-10-20"
---

# Configuration
URL: /docs/configuration
LLM index: /llms.txt
Description: Environment, database, and framework settings required to run Better Auth Studio.

# Configuration

Better Auth Studio picks up its configuration from two sources: the CLI flags you pass to `better-auth-studio start`, and the `studio.config.ts` file you create in your project root when embedding the studio inside a framework app.

For standalone use (running the CLI against your project), no config file is required — the CLI reads your existing `auth.ts` directly. For embedded use, you create a `studio.config.ts` that exports a `defineStudioConfig` call so your framework route handler knows how to wire everything together.

The sub-pages in this section cover the two areas most likely to need explicit configuration: [Database Adapters](/docs/configuration/database-adapters) describes how the studio detects and connects to your persistence layer, and [Deployment](/docs/configuration/deployment) covers running the studio in Docker or on a cloud platform.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
