Enable the Google Cloud Natural Language API
It’s now time to start bringing in another Google Cloud product, Natural Language API, that will allow us to fetch the sentiment of the comments left on the cakes in the web app.
The first thing you want to do is to enable the Natural Language API. Search for Natural Language API and select it from the list under Marketplace.
Click the Enable button so you can start using it within our project.
This will take you to the Natural Language API page for your project. You will need to generate an API key to use, so select Credentials from the left-hand menu.
Click Create Credentials at the top of the browser window and select API Key from the dropdown box to generate a key.
Copy the API key that has been generated for you. You will use it to authenticate our requests to the Natural Language API in the following section.