Connecting to a MongoDB Database (SmartBridge)
Learn how to connect to MongoDB databases by using connection strings. Connection strings allow you to connect your cluster with the mongo shell, with Compass (our GUI that enables querying, optimizing and analyzing MongoDB data), and to an application.
Unit Overview
In this unit, you will learn where to find your Atlas connection string inside of the Atlas dashboard. You'll also learn about the components of a Atlas connection string. Finally, you will have the opportunity to use your connection string to connect your Atlas cluster with the shell, Compass, and any type of application.
Prerequisites
Lessons in This Unit
Lesson 01: Using MongoDB Connection Strings
Lesson 02: Connecting to a MongoDB Atlas Cluster with the Shell
Lesson 03: Connecting to a MongoDB Atlas Cluster with Compass
Lesson 04: Connecting to a MongoDB Atlas Cluster from an Application
Lesson 05: Troubleshooting MongoDB Atlas Connection Errors
-
01.
-
02.Lesson 2: Connecting to a MongoDB Atlas Cluster with the Shell
- Learn
- Practice
-
03.Lesson 3: Connecting to a MongoDB Atlas Cluster with Compass
- Learn
- Practice
-
04.Lesson 4: Connecting to a MongoDB Atlas Cluster from an Application
- Learn
- Practice
-
05.Lesson 5: Troubleshooting MongoDB Atlas Connection Errors
- Learn
- Practice
-
06.Conclusion
- Learn
Sarah Evans | Senior Curriculum Engineer
Sarah is a Senior Curriculum Engineer on the Curriculum team at MongoDB. Prior to MongoDB, Sarah was a Curriculum Engineer on the Coding team at Trilogy | 2U, where she contributed to Full-Stack and Advanced Front-End courses. Sarah has a MAT degree from Columbia University Teachers College and studied Software Engineering at Flatiron School in Chicago, IL.
Parker Faucher I Curriculum Engineer
Parker is a Curriculum Engineer on the Education team at MongoDB. Prior to joining MongoDB, he helped maintain a world-class developer boot camp that was offered in multiple universities. He is a self-taught developer who loves being able to give back to the community that has helped him so much.
