![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=1738914904-R2fp4qZFfXsnSSKiYNEGDDSt1uHm7XZZ-0-14d3743868f1b64fa4254e61a651d5c1)
- 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=1738914904-jZjiTXTjEGKU428llMNPhGSWTQpmwbtq-0-0a2f1e65747a03c511e640807cb262a1)
- Click Continue and verify your order:
![](https://epubservercos.yuewen.com/EF9E8A/19470393208884906/epubprivate/OEBPS/Images/Chapter_14.jpg?sign=1738914904-wcz8YeHiJEu2xQZQWjcssqfg3q6SgaFR-0-565e7e9c90dacb24b15a45dff24e6fc4)
- 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=1738914904-KOrc1Jx1dDvkgP7IoBNGYAhTtLmfgjnG-0-0e95033f705c6852729c41c0fa40c9e3)
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=1738914904-oyQJSWa0kwC32kac9HI5WwZKBX3uqU7t-0-7abb67e2b4d71d373ac3754e0b2203d5)
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.