Overview

If you’re following the Implementation Outline: after configuring your database, connecting your PowerSync instance to it, and defining basic Sync Rules, the next step is to include the appropriate PowerSync Client SDK package in your app project. On a high level, this involves the following steps:

  1. Install the Client SDK (see below)

  2. Define your Client-Side Schema

    • The PowerSync Client SDKs expose a managed SQLite database that your app can read from and write to. The client-side schema refers to the schema for that SQLite database.
  3. Instantiate the PowerSync Database

    • This instantiates the aforemention managed SQLite database.
  4. Integrate with your Backend [Optional]

    • This allows write operations on the client-side SQLite database to be uploaded to your backend and applied to your backend database.

    • Integrating with your backend is also part of authentication integration. For initial development and testing, you can use Development Tokens, and then implement proper authentication integration at a later time.

Installing the Client SDK

PowerSync offers a variety of client SDKs. Please see the steps based on your app language and framework:

Next Steps

For an overview of the client-side steps required to set up PowerSync in your app, continue reading the next sections.

  1. Define your Client-Side Schema

  2. Instantiate the PowerSync Database

  3. Integrate with your Backend

For a walkthrough with example implementations for your platform, see the Getting Started section of the corresponding SDK reference linked above.