> ## Documentation Index
> Fetch the complete documentation index at: https://powersync-docs-ai-quickstart-prompts.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# PowerSync Docs

> PowerSync is a sync engine that keeps a client-side SQLite database in sync with your backend database.

Your app reads and writes directly to its local database, so user interactions feel instant and your app continues to work even when offline. PowerSync syncs changes to and from your local database, so updates appear across users and devices in real-time.

PowerSync is made up of the PowerSync Service and a set of client SDKs. The PowerSync Service replicates data from your backend database, partitions it based on what data each user should receive, and streams real-time updates to clients through the PowerSync client SDK.

## Get Started

<CardGroup>
  <Card title="Setup Guide" icon="rocket" href="/intro/setup-guide" horizontal>
    Go from zero to a working PowerSync implementation in your project.
  </Card>

  <Card title="Demo Apps / Example Projects" icon="code" href="/intro/examples" horizontal>
    A quick way to get a feel for PowerSync is to run a demo app.
  </Card>

  <Card title="Understand PowerSync" icon="lightbulb" href="/intro/powersync-philosophy" horizontal>
    The architecture and the philosophy behind PowerSync.
  </Card>

  <Card title="AI Agent Skills" icon="sparkles" href="/tools/ai-tools#powersync-agent-skills" horizontal>
    Official PowerSync skills for Claude Code, Codex, and other AI-powered coding tools.
  </Card>
</CardGroup>

## AI Quickstart

<Prompt description="Add **PowerSync** to your project" actions={["copy", "cursor"]} icon="sparkles">
  ```text theme={null}
  Add PowerSync to this project so the app reads and writes a local SQLite
  database that syncs with my backend database.

  Install the PowerSync Agent Skills in this project and follow them:

      npx skills add powersync-ja/agent-skills

  Inspect the project to identify my language and framework, then confirm the
  matching PowerSync client SDK with me. PowerSync has SDKs for Flutter,
  React Native & Expo, JavaScript Web, Capacitor, Node.js, Tauri, Kotlin
  Multiplatform, Swift, .NET, and Rust. Use
  https://docs.powersync.com/client-sdks/overview.md to find the SDK
  reference, and check the PowerSync docs when something is unclear rather
  than guessing. Do not invent APIs.

  Ask me these questions and wait for my answers before writing code:

  1. Which backend database am I syncing from: Postgres, MongoDB, MySQL, or
     SQL Server? Am I on a hosted platform such as Supabase?
  2. Do I have a PowerSync Service instance (PowerSync Cloud or self-hosted)?
     If not, help me set one up first.
  3. Which tables does my app need locally, and which rows should each user
     receive?
  4. How do users authenticate?

  Then work step by step: define the client-side schema, write Sync Stream
  definitions for the data I described and show me how to apply them on the
  PowerSync Service, instantiate the PowerSync database, implement a backend
  connector, and connect. Verify the app builds and syncs before you finish.
  ```
</Prompt>

## Supported Backend Source Databases

PowerSync is designed to be backend database agnostic, and supports these source databases:

<CardGroup cols={4}>
  <Card title="Postgres" icon="elephant" href="/configuration/source-db/setup#postgres" />

  <Card title="MongoDB" icon="leaf" href="/configuration/source-db/setup#mongodb" />

  <Card title="MySQL (Beta)" icon="dolphin" href="/configuration/source-db/setup#mysql" />

  <Card title="SQL Server (Beta)" icon="server" href="/configuration/source-db/setup#sql-server" />

  <Card title="Azure DocumentDB (Experimental)" icon="microsoft" href="/configuration/source-db/setup#azure-documentdb" />

  <Card title="Convex (Experimental)" icon="database" href="/configuration/source-db/setup#convex" />
</CardGroup>

## Supported Client SDKs

PowerSync is also designed to be client-side stack agnostic, and currently has client SDKs available for:

<CardGroup cols={3}>
  <Card title="Dart/Flutter" icon="flutter" href="/client-sdks/reference/flutter" horizontal />

  <Card title="React Native & Expo" icon="react" href="/client-sdks/reference/react-native-and-expo" horizontal />

  <Card title="JavaScript Web" icon="js" href="/client-sdks/reference/javascript-web" horizontal />

  <Card title="Capacitor (beta)" icon="c" href="/client-sdks/reference/capacitor" horizontal />

  <Card title="Tauri (alpha)" icon="https://mintcdn.com/powersync-docs-ai-quickstart-prompts/36F_4L6PV4pv-9bO/logo/tauri_sidebar.svg?fit=max&auto=format&n=36F_4L6PV4pv-9bO&q=85&s=42f1074138c2004cd2c6b8b26b0d547c" href="/client-sdks/reference/tauri" horizontal width="128" height="128" data-path="logo/tauri_sidebar.svg" />

  <Card title="Node.js" icon="node-js" href="/client-sdks/reference/node" horizontal />

  <Card title="Kotlin" icon="android" href="/client-sdks/reference/kotlin" horizontal />

  <Card title="Swift" icon="swift" href="/client-sdks/reference/swift" horizontal />

  <Card title=".NET (beta)" icon="microsoft" href="/client-sdks/reference/dotnet" horizontal />

  <Card title="Rust (alpha)" icon="rust" href="/client-sdks/reference/rust" horizontal />
</CardGroup>

<Note>
  Looking for an SDK that's not listed above? Upvote it or submit it on [our roadmap](https://roadmap.powersync.com/).
</Note>

## Need Help?

Can't find what you are looking for in these docs? Try **Ask AI** on this site which is trained on all our documentation, repositories and Discord discussions. Also join us on [our community Discord server](https://discord.gg/powersync) where you can browse topics from the PowerSync community and chat with our team.
