Join egghead, unlock knowledge.

Want more egghead? It's 45% off for a limited time only!

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock All Content for 45% Off

Already subscribed? Sign In

Save 45% for a limited time.

Get access to all courses and lessons on egghead today.

Autoplay

    Create a free database on MongoDB Atlas

    Bram BorggreveBram Borggreve

    In this lesson we will create a free account on monogdb.com. After the account has been created we will create a group in MongoDB Atlas and in that group we create a free cluster. In order to create the cluster we need to provide a username and password. We create our user called admin and have the site generate our password for use. Once the cluster is created we look at where we can find the connection string.

    loopbackLoopback
    nodeNode.js
    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Transcript

    Transcript

    00:00 In our browser, we navigate to MongoDB.com. We click "cloud" and then "MongoDB Atlas." Click the "Start Free" button to create a new account, or login if you already have one. Enter your email address, your password, tick the box to agree to the terms of service, and click continue.

    00:17 Enter your account credentials, create a group, and click continue. Once our account is created, we are prompted to create a new group name. We enter our group name and select MongoDB Atlas. Inside our group, we can now build our new cluster.

    00:32 When we scroll down, we see that there is a free option. We select the free option, and verify that our price is zero dollars forever. When we scroll all the way down, we see that we have to enter an admin user name and passwords.

    00:46 We enter admin and have the site generate password for us. We store this password, as we need it later. We can now click "confirm and deploy" to have our cluster created. When we verify our identity, we see that the cluster is being created.

    01:02 After a few minutes, our cluster got created. We navigate to the cluster step and click the connect button to get our connection string. We can use this connection string to connect our applications to our MongoDB cluster on Atlas.

    01:15 Please make sure to replace passwords and database in this connection string.

    Discuss

    Discuss