Enabling the API

Now that we have a project and we have both the API and service account keys, we will enable the required API and test our application. Navigate to the project home page (https://console.cloud.google.com/home/dashboard?project=smart-exchange-b10882). From the menu on the left-hand side, select APIs & Services | Library. Once we land on this page, search for Cloud Natural Language API and click on that card. Then, click on the Enable button. This will prompt you to set up billing, if you have not already done so. Once you have enabled the billing and the API, you should see that the Cloud Natural Language API is enabled:

Get Google Cloud AI Services Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.