> ## Documentation Index
> Fetch the complete documentation index at: https://012e27a-docs-2.manicule.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://012e27a-docs-2.manicule.dev/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://012e27a-docs-2.manicule.dev/api/mcp.
> Every agent surface: https://012e27a-docs-2.manicule.dev/.well-known/llms-manifest.json

# Managed Databases & Storage (/databases/overview)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 616 · updated: 2026-11-12 -->
Related: [Cloudflare D1 (Edge SQLite)](/databases/cloudflare-d1.md), [Neon Serverless Postgres](/databases/neon-postgres.md), [Supabase Managed Postgres](/databases/supabase-postgres.md), [Database Migrations & ORM Setup](/databases/migrations.md), [Build Logs & Instant Rollbacks](/deployments/build-logs-and-rollbacks.md)

> Provision Cloudflare D1 (edge SQLite), Neon Serverless Postgres, and Supabase without leaving your workspace.

BhaiCode provisions persistent storage for you, then wires it into your project: the
connection string lands in your environment, the client library is installed, and Bhai
writes migrations when you describe your data model.

| Engine                                    | Type                | Best for                                              | Default tooling                             |
| ----------------------------------------- | ------------------- | ----------------------------------------------------- | ------------------------------------------- |
| [Cloudflare D1](/databases/cloudflare-d1) | Edge SQLite         | Fast reads, content sites, lightweight apps           | Drizzle ORM                                 |
| [Neon Postgres](/databases/neon-postgres) | Serverless Postgres | Relational schemas, branch-based testing, autoscaling | Drizzle, Prisma, `@neondatabase/serverless` |
| [Supabase](/databases/supabase-postgres)  | Postgres + backend  | Auth, storage buckets, realtime                       | `@supabase/supabase-js`, Drizzle            |

## What provisioning does

<Steps>
<Step title="Create the database">In Cloud Studio, open the [Databases drawer](/connectors/neon) and click
**Provision database**.</Step>

<Step title="Bind credentials">Connection strings and keys are written to project environment variables
(`DATABASE_URL`, `NEXT_PUBLIC_SUPABASE_URL`, …), never exposed to the client bundle.</Step>

<Step title="Install tooling">The ORM and client packages are added, with a typed schema starter for Drizzle.</Step>

<Step title="Run migrations">Describe your model and Bhai generates and runs the [SQL migration](/databases/migrations).</Step>
</Steps>

<Note>Each engine above also has its own connector page for OAuth and project linking. Start from
[Connectors](/connectors/overview) if you have not connected a provider yet.</Note>

<CardGroup cols="3">
<Card title="Edge SQLite" icon="zap" href="/databases/cloudflare-d1">D1 runs beside Cloudflare Workers for low-latency reads.</Card>

<Card title="Branch your data" icon="git-fork" href="/databases/neon-postgres">Neon branches mirror your Git branches for safe migrations.</Card>

<Card title="Migrations" icon="arrow-right-left" href="/databases/migrations">Deterministic schema changes with Drizzle, Prisma, or raw SQL.</Card>
</CardGroup>
