This release provides a self-serve option for MongoDB users to deploy PowerSync as a sync engine for bidirectionally syncing data between MongoDB on the backend, and a local database on client devices. This is a crucial migration path for customers on Atlas Device Sync who need a MongoDB native solution to the end of life challenge. It also enables MongoDB customers to participate in the growing local-first movement that has significant developer productivity benefits.
We’ve worked hard towards this release and it is a key milestone for our partnership with MongoDB, announced this week.
How it works
PowerSync Cloud can connect to either MongoDB Atlas or self-hosted MongoDB environments, providing full deployment flexibility. Additionally, the PowerSync Service itself can also be self-hosted for customers with stringent cloud sovereignty requirements.
The PowerSync Service has a modular architecture which is what enables a pluggable backend database which gives users maximum forward looking optionality. MongoDB replication uses Change Streams under the hood to replicate state to the client in real time.
All of the PowerSync Service source code is freely available under a source-available license ensuring business continuity for years to come.
How to use it
Sign up for an account on powersync.com if you haven’t already. When creating a new PowerSync instance, you’ll be prompted to select a database type - select MongoDB.
After selecting MongoDB, enter your database URI, database name, username and password (see documentation for details):
Hit “Test connection” and if you have any issues connecting, reach out to our support engineers on our Discord server.