> ## Documentation Index
> Fetch the complete documentation index at: https://bunnynet-cb9733c2-support-migration.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Bunny Database

> Bunny Database is a globally distributed SQLite-compatible database.

<img src="https://mintcdn.com/bunnynet-cb9733c2-support-migration/Z09ZI7FyatCuoSuT/images/database/database.png?fit=max&auto=format&n=Z09ZI7FyatCuoSuT&q=85&s=e91985650a648623c41bda36b5f571d9" alt="bunny.net Database" width="1030" height="520" data-path="images/database/database.png" />

<Note>
  Bunny Database is currently in [Public Preview](/product-release-stages#stage-2-public-preview). Features and APIs may evolve during this period.
</Note>

Bunny Database is a fully managed relational database service built on libSQL, a fork of SQLite. It allows you to easily deploy simple, globally distributed SQL databases. The service automatically handles scaling and replication, and stays idle when inactive for a usage-based billing model.

<Card title="Database Quickstart" href="/database/quickstart" icon="rocket" horizontal />

## Key features

* **SQLite compatibility**: Use standard SQL syntax and leverage existing SQLite knowledge, tools, and libraries
* **Global replication**: Replicate your database across multiple regions for low-latency access worldwide
* **Multiple connection options**: Connect via HTTP API, native SDKs, or popular ORMs
* **Edge integration**: Works seamlessly with Edge Scripting and Magic Containers
* **Fully managed**: No infrastructure to maintain with automatic scaling and replication
* **Usage-based billing**: Stays idle when inactive, so you only pay for what you use

## Integrations

Bunny Database integrates with other bunny.net developer platform services:

<CardGroup cols={2}>
  <Card title="Magic Container Apps" icon="docker" href="/database/connect/magic-containers">
    Deploy any Docker workload without provisioning. Databases and containers
    are deployed to the same regions to minimize latency.
  </Card>

  <Card title="Edge Scripts" icon="bolt" href="/database/connect/scripting">
    Run lightweight serverless JavaScript/TypeScript logic close to your users.
  </Card>
</CardGroup>

## Getting started

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/database/quickstart">
    Create your first database and run queries in minutes
  </Card>

  <Card title="SQL API" icon="code" href="/database/connect/sql-api">
    Connect directly using the HTTP-based SQL API
  </Card>

  <Card title="TypeScript" icon="js" href="/database/connect/typescript">
    Connect using the libSQL client for JS & TypeScript
  </Card>

  <Card title="Go" icon="golang" href="/database/connect/go">
    Connect using the libSQL client for Go
  </Card>

  <Card title="Rust" icon="rust" href="/database/connect/rust">
    Connect using the libSQL crate for Rust
  </Card>

  <Card title=".NET" icon="microsoft" href="/database/connect/dotnet">
    Connect using the Bunny.LibSQL.Client for .NET
  </Card>
</CardGroup>
