![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=1739244387-sg8dyvNCSRrGsMtiY88R79S9I7mP25D9-0-652bed59d03a8d8e3a618eb9ecdf116c)
- 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=1739244387-4SBux72PuaJVGsnqE5I9N260QYQNb4Qg-0-693ef317b2a5560711db18a99b96821c)
- Click Continue and verify your order:
![](https://epubservercos.yuewen.com/EF9E8A/19470393208884906/epubprivate/OEBPS/Images/Chapter_14.jpg?sign=1739244387-1IPNA2tK7hYDTCn8pT3dmfzOxaXwmfFW-0-91fad763cc31e37500a6273a419158dd)
- 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=1739244387-4jXymFB8rcVQlNe3A8QfxOzYNU8gv5Qt-0-b82caf8e25054b4e4c23b10b08de28bc)
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=1739244387-eS6P1D9lVSFHUnmzSfN51Hc3AW6zNFev-0-ed62197b30b9523fecea0566fa222bbe)
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.