From the course: Next.js 14 from Scratch: Build a Real-World Project Using Next.js 14 and MongoDB

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

MongoDB Compass and importing data

MongoDB Compass and importing data

All right, guys, so now we're going to set up Compass, which is a desktop tool to use to connect to your MongoDB database, and then we're going to import all of our data. So to get Compass, just go to mongodb.com, and then Products, and you click on this. Under Tools, you'll see Compass, and then just go ahead and download it. It doesn't matter if you're on Windows, Mac, Linux, whatever, it's cross-platform. So go ahead and download it. I obviously already have it installed, so I'm going to open it up. And what we want to do is from this page, and we're going to click Connect again like we did in the last video, but instead of Drivers, we're going to click on Compass, and then we're going to copy that string right there. And then in Compass, we can paste that in, and just replace the angle bracket password with your actual password, and then click Connect. So as you can see, you can ignore the admin and local. Those are going to be there whenever you create a new database. But…

Contents