Sources
A source is the database NoSQLSync reads from. Give it a read-only user — NoSQLSync never writes to a source except after a dual-write cutover.
Supported sources
| Source | Modes | Change feed |
|---|---|---|
| MongoDB (Atlas, self-hosted) | Live sync | Change streams |
| Amazon DynamoDB | Live sync | DynamoDB Streams |
| Google Cloud Firestore | Live sync | Snapshot listeners |
| Azure Cosmos DB (NoSQL API) | Live sync | Change feed |
| Apache Cassandra | One-time | — |
| Couchbase | One-time | — |
| PostgreSQL, Supabase, Neon, RDS / Aurora | One-time | — |
| MySQL, PlanetScale, MariaDB | One-time | — |
| SQL Server / Azure SQL | One-time | — |
Credentials are entered either as a connection string or as a JSON object, depending on the database. The exact fields are listed below.
MongoDB
Paste a standard connection string. A user with the built-in read role is enough.
mongodb+srv://reader:[email protected]/appChange streams only exist on replica sets and sharded clusters. Every Atlas cluster qualifies; a standalone mongod can only run one-time migrations.
DynamoDB
{
"region": "us-east-1",
"accessKeyId": "AKIA…",
"secretAccessKey": "…"
}The IAM user needs read access to the tables (dynamodb:Scan, dynamodb:DescribeTable, dynamodb:ListTables) and, for live sync, to their streams.
For live sync, turn on DynamoDB Streams with the view type NEW_AND_OLD_IMAGES. Other view types are rejected.
Firestore
{
"projectId": "my-project",
"credentials": { "type": "service_account", "project_id": "my-project", … }
}Create a service account in Firebase console → Project settings → Service accounts. The Cloud Datastore Viewer role is enough.
Firestore listeners don't offer a resumable position. If a live sync restarts, it continues from the current state of the collection rather than replaying changes made while it was down.
Cosmos DB
{
"endpoint": "https://my-account.documents.azure.com:443/",
"key": "…read-only key…"
}Use the NoSQL (Core) API endpoint and a read-only key. For Cosmos DB's MongoDB API, connect it as a MongoDB source instead.
The Cosmos DB change feed doesn't report deletes, so documents deleted at the source during live sync remain in the target.
Cassandra
{
"contactPoints": ["10.0.0.5", "10.0.0.6"],
"localDataCenter": "dc1",
"username": "reader",
"password": "…"
}Use a role with SELECT on the keyspaces you want to copy. username and password are optional if authentication is off.
Couchbase
{
"connectionString": "couchbases://cb.example.com",
"username": "reader",
"password": "…"
}SQL databases
PostgreSQL, MySQL and MariaDB accept either a connection string or individual fields:
postgres://reader:[email protected]:5432/app
mysql://reader:[email protected]:3306/app{ "host": "db.example.com", "port": 5432, "database": "app", "username": "reader", "password": "…" }For PostgreSQL, each schema appears as a database in the wizard. For Neon and Supabase, use the direct (non-pooled) connection string.
SQL Server
{
"server": "sql.example.com",
"port": 1433,
"database": "app",
"user": "reader",
"password": "…",
"encrypt": true,
"trustServerCertificate": false
}SQL Server 2016+ and Azure SQL are supported. The db_datareader role is enough.
Testing a connection
The Test button (or POST /connections/test) opens a real connection, lists databases and measures latency. For MongoDB it also checks whether the deployment supports change streams, so you know up front if live sync will work.
- Connection refused or timed out → check firewall rules; see Security & networking.
- Authentication failed → check the user, password and auth database (
?authSource=adminfor MongoDB).