Create a PowerSync Instance

  1. In the PowerSync Dashboard project tree (PowerSync Cloud), click on “Create new instance”:
  1. Give your instance a name, such as “Todolist Testing”.
  2. Under the “General” tab, you can change the default cloud region from “US” to “EU”, “JP” (Japan), or “AU” (Australia) if desired (more cloud regions are available, contact us if you need a different region).
  3. Under the “DB Connections” tab, click on the + icon.

Each provider has their quirks when it comes to specifying connection details, so we have documented provider-specific instructions below.

Postgres Provider Specifics

Select your Postgres hosting provider for steps to connect your Postgres database to the newly created PowerSync instance:

For other providers and self-hosted databases:

MongoDB (Alpha) Specifics

  1. Fill in your connection details from MongoDB:
    1. Name” can be any name for the connection.
    2. Database name” is the database in your cluster to replicate.
    3. Username” and “Password” maps to the Database user. See necessary permissions in Source Database Setup
    4. URI” is your database connection string in the format mongodb+srv://cluster0.aaaaa.mongodb.net/. Make sure it includes the hostname.
  2. Click “Test Connection” and fix any errors. If have any issues connecting, reach out to our support engineers on our Discord server.
    1. Make sure that your database allows access to PowerSync’s IPs — see Security and IP Filtering
  3. Click “Save”.

PowerSync deploys and configures an isolated cloud environment for you, which can take a few minutes to complete.

Note: PowerSync automatically selects the “Beta” version of the Service when adding a MongoDB connection while MongoDB support is in alpha.

Also see:

MySQL (Alpha) Specifics

  1. Fill in your connection details from MySQL:
    1. Name” can be any name for the connection.
    2. Host” and “Database name” is the database to replicate.
    3. Username” and “Password” maps to your Database user.
  2. Click “Test Connection” and fix any errors. If have any issues connecting, reach out to our support engineers on our Discord server.
    1. Make sure that your database allows access to PowerSync’s IPs — see Security and IP Filtering
  3. Click “Save”.

PowerSync deploys and configures an isolated cloud environment for you, which can take a few minutes to complete.

Note: PowerSync automatically selects the “Beta” version of the Service when adding a MySQL connection while MySQL support is in alpha.