Welcome back.
Before we go ahead and install MongoDB, first, we need to create an account.
So let's go to Google and search for MongoDB dot com.
And after that it will greet you with this beautiful website called MongoDB.
The next step is that if you don't have an account, click on Try Free, but if you have one, click
on sign in.
So let's go ahead and create an account from scratch.
So I'll click on Try Free then it's giving me option to sign up with my username, email my company
and my password.
But we have another alternative that is we can sign up using our Google account, so I'll click on that
to sign up with Google.
The next step is let's accept the terms and conditions by clicking on this checkbox and click on Submit.
And that is it.
Welcome to Atlas.
The next step is we need to personalise MongoDB to suit our need.
The first question is what is your goal today?
Let's select on build new application, then click on Learn MongoDB.
So the next question is what type of application are you building?
You can select any of these.
So I select application modernization.
The next question is what is your preferred language?
Let's look at the options and you can see that we have JavaScript being the first option, which tells
you how popular JavaScript is.
I guess you may be thinking that we need to select what is called Node.js.
But remember, Node.js is not a programming language, but instead it's JavaScript runtime, meaning
we are going to write JavaScript.
Okay, so let's select that and click on Finish.
The next step is how we are going to deploy our cloud database.
Well, because we are practicing MongoDB.
We are going to select the free option.
And even for the free option, we can use to build ready application.
So let's click on Create.
So next step is we need to select our cloud provider.
So based on your region, select any of this region that is near you.
Okay.
So any of this one, you'll be good to go.
So make sure that the region that you selected it is close to you.
The next step is let's click on cluster here and see other option.
So if we want to go for the paid one, we can change the option here and we are using the free one.
So let me close this dropdown and in this one I'm going to be the cluster name.
So let's click on that and then let's provide the name of our connection string.
We will get back to Connection String very soon, so provide the name of the application that we are
going to build.
So I would say that MongoDB demo just passing MongoDB.
You can name it whatever you want and click on Create Cluster.
The next step is we need to provide some security quickstart.
So here provide username and password, we can provide any username.
So let me call this one as I novatek.
And then the password you can use the auto general secure password here.
So I'll click on that and now I have my password here.
So we need to copy this password and then keep it in a secure place.
You may need it.
Or better still, if you lose it, you can come back here and then get the password.
So let me hide it.
And now let me generate a new one.
Going to be my private password.
Copy.
And try to save the password.
So for me, I'm going to open a notepad or word to paste that password.
So I'm going to place it somewhere here on my document here.
So this is invisible to you.
The next step is create user.
And here we go.
The next step is we need to provide the IP address.
So the IP address determines how a user can have access to your database.
So if you click on Add current IP address, it means that it is only you who have access to the MongoDB
where you can create, read and do operation on your MongoDB.
But if you want anybody to have access to your MongoDB, for example, the person can create and retrieve
information.
You need to provide a universal IP address.
And it goes like this 0.0.0.04 zeros.
And now click on add entry.
That is it.
The next step is click on finish and close and go to database.
And here we go.
And now we have some couple of quick start here and let's call this one for now and this is our dashboard.
Do you remember we talked about terms when it comes to MongoDB, for example, database.
If you click on that, you can see that we have four collections.
So when I click on Browse Collections, you can see that I'm going to have documents inside.
But for the meantime, I don't have any data.
So MongoDB says that I can add my own document or data or I can load for a data set.
And we are going to use Node.js to create data and save it here.
So as you move on, you will come back here and visualize what is going on here.
If we are able to create data and save it into MongoDB now that we have an account with MongoDB.
So in the next video, let's see how we can install MongoDB.