Enabling API

Now that we have a project and we have both API and service account keys, we will enable the required API and test our application. Follow these steps to enable the API:

  1. 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.
  2. Once we land on this page, search for Google Cloud Translation API and click on that card.
  3. Then, click on the Enable button. This will prompt you to set up billing, if you have not already done so.
  4. Once you have enabled the billing and the API, you should see that the Cloud Natural Language API is enabled on your screen.

In the next section, we are going to explore the API. ...

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.