Connecting to a Remote Mongo Database with MongoDB Atlas
- Updated2025-10-28
- 1 minute(s) read
Connecting to a Remote Mongo Database with MongoDB Atlas
Connect to a MongoDB Atlas account for simpler database setup and administration compared to other deployments.
- A server running SystemLink 2021 R1 or later
- A MongoDB Atlas accountNote Due to memory constraints on the Atlas free tier, you must have a paid Atlas account to connect to SystemLink.
- A user with the readWriteAnyDatabase role and the createCollection
privilegeNote The readWrite role does not include the createCollection privilege.
- Refer to Get Started with Atlas to set up an Atlas cluster.
-
Refer to Get Connection String to obtain a connection
string.
Note In the sample connection string Atlas provides, replace the instance of myFirstDatabase with admin. For example, you would update mongodb+srv://<username>:<password>@<cluster>/myFirstDatabase?retryWrites=true&w=majority to mongodb+srv://<username>:<password>@<cluster>/admin?retryWrites=true&w=majority.
Related Information
- Get Started with Atlas
- Get Connection String
- Connection Strings
- MongoDB Support Limitations
Learn about the limitations that might prevent SystemLink from connecting to your MongoDB instance.
- Connection String Format
Consider the following guidelines when formatting your connection string to connect to a MongoDB instance.