1
00:00:07,610 --> 00:00:08,800
Welcome back.

2
00:00:08,810 --> 00:00:14,870
Before we go ahead and install MongoDB, first, we need to create an account.

3
00:00:14,870 --> 00:00:20,270
So let's go to Google and search for MongoDB dot com.

4
00:00:20,330 --> 00:00:27,170
And after that it will greet you with this beautiful website called MongoDB.

5
00:00:27,500 --> 00:00:35,450
The next step is that if you don't have an account, click on Try Free, but if you have one, click

6
00:00:35,450 --> 00:00:36,830
on sign in.

7
00:00:37,220 --> 00:00:40,940
So let's go ahead and create an account from scratch.

8
00:00:40,940 --> 00:00:50,120
So I'll click on Try Free then it's giving me option to sign up with my username, email my company

9
00:00:50,120 --> 00:00:51,500
and my password.

10
00:00:51,650 --> 00:01:00,380
But we have another alternative that is we can sign up using our Google account, so I'll click on that

11
00:01:00,380 --> 00:01:02,660
to sign up with Google.

12
00:01:02,690 --> 00:01:11,210
The next step is let's accept the terms and conditions by clicking on this checkbox and click on Submit.

13
00:01:12,040 --> 00:01:13,450
And that is it.

14
00:01:13,480 --> 00:01:15,400
Welcome to Atlas.

15
00:01:15,820 --> 00:01:20,890
The next step is we need to personalise MongoDB to suit our need.

16
00:01:21,070 --> 00:01:24,700
The first question is what is your goal today?

17
00:01:24,730 --> 00:01:32,230
Let's select on build new application, then click on Learn MongoDB.

18
00:01:32,680 --> 00:01:37,330
So the next question is what type of application are you building?

19
00:01:37,330 --> 00:01:39,070
You can select any of these.

20
00:01:39,070 --> 00:01:41,860
So I select application modernization.

21
00:01:42,340 --> 00:01:45,850
The next question is what is your preferred language?

22
00:01:45,850 --> 00:01:53,560
Let's look at the options and you can see that we have JavaScript being the first option, which tells

23
00:01:53,560 --> 00:01:55,720
you how popular JavaScript is.

24
00:01:56,110 --> 00:02:00,850
I guess you may be thinking that we need to select what is called Node.js.

25
00:02:00,850 --> 00:02:07,990
But remember, Node.js is not a programming language, but instead it's JavaScript runtime, meaning

26
00:02:07,990 --> 00:02:10,030
we are going to write JavaScript.

27
00:02:10,120 --> 00:02:13,810
Okay, so let's select that and click on Finish.

28
00:02:14,580 --> 00:02:19,980
The next step is how we are going to deploy our cloud database.

29
00:02:19,980 --> 00:02:22,890
Well, because we are practicing MongoDB.

30
00:02:22,920 --> 00:02:26,130
We are going to select the free option.

31
00:02:26,130 --> 00:02:31,170
And even for the free option, we can use to build ready application.

32
00:02:31,170 --> 00:02:33,180
So let's click on Create.

33
00:02:33,660 --> 00:02:37,690
So next step is we need to select our cloud provider.

34
00:02:37,710 --> 00:02:43,080
So based on your region, select any of this region that is near you.

35
00:02:43,110 --> 00:02:43,560
Okay.

36
00:02:43,560 --> 00:02:45,740
So any of this one, you'll be good to go.

37
00:02:45,750 --> 00:02:49,680
So make sure that the region that you selected it is close to you.

38
00:02:50,010 --> 00:02:55,280
The next step is let's click on cluster here and see other option.

39
00:02:55,290 --> 00:03:01,410
So if we want to go for the paid one, we can change the option here and we are using the free one.

40
00:03:01,410 --> 00:03:06,900
So let me close this dropdown and in this one I'm going to be the cluster name.

41
00:03:06,900 --> 00:03:12,440
So let's click on that and then let's provide the name of our connection string.

42
00:03:12,450 --> 00:03:17,910
We will get back to Connection String very soon, so provide the name of the application that we are

43
00:03:17,910 --> 00:03:18,850
going to build.

44
00:03:18,870 --> 00:03:24,330
So I would say that MongoDB demo just passing MongoDB.

45
00:03:25,230 --> 00:03:29,340
You can name it whatever you want and click on Create Cluster.

46
00:03:30,490 --> 00:03:35,130
The next step is we need to provide some security quickstart.

47
00:03:35,140 --> 00:03:40,690
So here provide username and password, we can provide any username.

48
00:03:40,690 --> 00:03:44,290
So let me call this one as I novatek.

49
00:03:46,530 --> 00:03:51,580
And then the password you can use the auto general secure password here.

50
00:03:51,600 --> 00:03:55,200
So I'll click on that and now I have my password here.

51
00:03:55,590 --> 00:04:00,840
So we need to copy this password and then keep it in a secure place.

52
00:04:00,840 --> 00:04:01,560
You may need it.

53
00:04:01,560 --> 00:04:06,330
Or better still, if you lose it, you can come back here and then get the password.

54
00:04:06,330 --> 00:04:07,830
So let me hide it.

55
00:04:07,830 --> 00:04:10,020
And now let me generate a new one.

56
00:04:10,060 --> 00:04:12,420
Going to be my private password.

57
00:04:12,660 --> 00:04:13,560
Copy.

58
00:04:13,830 --> 00:04:15,960
And try to save the password.

59
00:04:15,960 --> 00:04:20,820
So for me, I'm going to open a notepad or word to paste that password.

60
00:04:20,820 --> 00:04:25,530
So I'm going to place it somewhere here on my document here.

61
00:04:25,530 --> 00:04:27,540
So this is invisible to you.

62
00:04:28,020 --> 00:04:30,270
The next step is create user.

63
00:04:30,390 --> 00:04:32,430
And here we go.

64
00:04:32,550 --> 00:04:37,560
The next step is we need to provide the IP address.

65
00:04:37,560 --> 00:04:43,920
So the IP address determines how a user can have access to your database.

66
00:04:44,220 --> 00:04:51,690
So if you click on Add current IP address, it means that it is only you who have access to the MongoDB

67
00:04:51,720 --> 00:04:55,920
where you can create, read and do operation on your MongoDB.

68
00:04:56,190 --> 00:05:02,490
But if you want anybody to have access to your MongoDB, for example, the person can create and retrieve

69
00:05:02,490 --> 00:05:03,390
information.

70
00:05:03,720 --> 00:05:06,480
You need to provide a universal IP address.

71
00:05:06,480 --> 00:05:11,850
And it goes like this 0.0.0.04 zeros.

72
00:05:11,850 --> 00:05:14,850
And now click on add entry.

73
00:05:14,940 --> 00:05:15,910
That is it.

74
00:05:15,930 --> 00:05:22,710
The next step is click on finish and close and go to database.

75
00:05:22,710 --> 00:05:25,250
And here we go.

76
00:05:25,260 --> 00:05:34,830
And now we have some couple of quick start here and let's call this one for now and this is our dashboard.

77
00:05:35,130 --> 00:05:40,910
Do you remember we talked about terms when it comes to MongoDB, for example, database.

78
00:05:40,920 --> 00:05:45,450
If you click on that, you can see that we have four collections.

79
00:05:45,450 --> 00:05:50,940
So when I click on Browse Collections, you can see that I'm going to have documents inside.

80
00:05:50,940 --> 00:05:53,700
But for the meantime, I don't have any data.

81
00:05:53,700 --> 00:06:01,500
So MongoDB says that I can add my own document or data or I can load for a data set.

82
00:06:01,560 --> 00:06:07,140
And we are going to use Node.js to create data and save it here.

83
00:06:07,140 --> 00:06:12,840
So as you move on, you will come back here and visualize what is going on here.

84
00:06:12,870 --> 00:06:20,670
If we are able to create data and save it into MongoDB now that we have an account with MongoDB.

85
00:06:20,790 --> 00:06:25,560
So in the next video, let's see how we can install MongoDB.

