![Google Cloud AI Services Quick Start Guide](https://wfqqreader-1252317822.image.myqcloud.com/cover/858/36699858/b_36699858.jpg)
上QQ阅读APP看书,第一时间看更新
Setting up mLab
Now that we have set up all our local dependencies, we are going to set up mLab account. If you already have a mLab account, you can skip this section. The following are the steps to set up your mLab account:
- To create an mLab account, navigate to https://mlab.com/signup/ and create a new account. Verify your email and log into your account.
- Now that we have logged in, we will create a new database. From the Home page of mLab, click on Create New button. For our application, we are going to use a free plan database.
- On the Cloud Provider page, select as shown in the following screenshot:
![](https://epubservercos.yuewen.com/EF9E8A/19470393208884906/epubprivate/OEBPS/Images/Chapter_34.jpg?sign=1738858086-KTdMP2qIdPUiTaBQKXWIUgv7rJkb6Syv-0-451a581707b927f1a5502d919671bbef)
- Click on Continue to proceed.
- Now select a region based on your location. I have selected Europe.
- Click Continue to proceed.
- In the following screen, provide a database name. I have provided smart-exchange.
![](https://epubservercos.yuewen.com/EF9E8A/19470393208884906/epubprivate/OEBPS/Images/Chapter_29.jpg?sign=1738858086-HmCLlaqWg4teUQXYGDMT8cQGnMTS4oWI-0-a9fb419e3657a526b14105bf5211f5a9)
- Click Continue and verify your order:
![](https://epubservercos.yuewen.com/EF9E8A/19470393208884906/epubprivate/OEBPS/Images/Chapter_14.jpg?sign=1738858086-nihDVwMyn9N5MpToa0qB9ReDrBBmJmPG-0-a5d24197d8d6b9a84361ab7a58c7217d)
- Finally, click on Submit Order. This will take a moment and create a new database for us.
- Once the database is created, click on the database name from the Home page and you should land on a screen similar to in the following screenshot:
![](https://epubservercos.yuewen.com/EF9E8A/19470393208884906/epubprivate/OEBPS/Images/Chapter_16.jpg?sign=1738858086-EvxiRUvXtaOvtP9wIovGqqdhE6bY43Kh-0-5b5fbc81be45df1fb339bf9c544ca6c0)
You will see a couple of warnings. The first one states that this database is not suitable for production and we are aware of it. The second one indicates that we do not have a database admin user. Let's create that one in the next section.
- For creating database admin, click on the Users tab and then click on Add new database user and a popup should ope, as shown in the following screenshot:
![](https://epubservercos.yuewen.com/EF9E8A/19470393208884906/epubprivate/OEBPS/Images/Chapter_69.jpg?sign=1738858086-5gstBIX13DnYHWb2I8cm2c4RGOf9maKH-0-d6a7720d87331d9c58d15050d73906c2)
I have provided the username as admin and password as admin123 for convenience. You can update it as applicable. Then, click on CREATE and we should see a new database user created and the second warning also vanishes.