Skip to main content
A PowerSync instance is a running deployment of the PowerSync Service: it replicates data from your source database and streams it to clients based on your Sync Streams. On PowerSync Cloud, instances are hosted and managed for you, and you create and configure them in the PowerSync Dashboard or with the PowerSync CLI.

Create a PowerSync Instance

When creating a project in the PowerSync Dashboard, Development and Production instances of the PowerSync Service will be created by default. Select the instance you want to configure.If you need to create a new instance, follow the steps below.
  1. In the dashboard, select your project and open the instance selection dropdown. Click Add Instance.
  1. Give your instance a name, such as “Production”.
  2. [Optional] You can change the default cloud region from US to EU, JP (Japan), AU (Australia) or BR (Brazil) if desired.
    • Note: Additional cloud regions will be considered on request, especially for customers on our Enterprise plan. Please contact us if you need a different region.
  3. Click Create Instance.

Configure Your Instance

A new instance needs three things before clients can sync:
  1. A connection to your source database. See Source Database Connection.
  2. Client authentication. See Authentication Setup. When getting started, you can use temporary development tokens instead of setting up a full auth provider.
  3. A sync configuration defining what data syncs to which clients, written as Sync Streams.
In the Dashboard, each of these has its own view in the instance’s sidebar. With the CLI, the database connection and client auth settings live in service.yaml and the sync configuration in sync-config.yaml; run powersync deploy to apply changes. Other lower-level instance options, such as compacting buckets and deprovisioning, are available in the Dashboard under the instance’s Settings view. The CLI has corresponding commands for most of these operations. For more information, see: