An application programming interface (API) is a computing interface that defines interactions between multiple software applications or mixed hardware-software intermediaries. – see Wikipedia.
A software development kit (SDK) is a collection of software development tools in one installable package. They facilitate the creation of applications by having a compiler, debugger, and perhaps a software framework. – see Wikipedia.
Google has multiple S.D.K. and A.P.I. for developers who allow the development of programs.
The first step is to open the Google development web page and see all the info from this webpage.
You can see all the A.P.I. from Google on this official web page.
You can use the console cloud from google in order to manage Google Cloud Platform resources.
Today, I will show you how to use Google Assistant.
The Actions on Google is the platform for developers to extend the Google Assistant.
Open the Actions on Google and create a new project.
I named this project Assistant001.
Search on the bottom of the page: Are you looking for device registration? Click here and select: Click here.
This will open a new web page with this content: Embed the Google Assistant into any of your devices. and press on the button with this text: REGISTER MODEL.
This will open a dialog where you need to fill it.
Product name: Assistant
Manufacturer name: catafest
Device type: Phone
… and press the button named REGISTER MODEL and download credential.
Google Cloud Client Libraries use a library called Application Default Credentials (ADC) to automatically find your service account credentials, in this case, is a JSON file type.
In the console cloud google select the project, in my case is Assistant001.
The next step is to select the Google A.P.I. for the assistant, see the next image:

Search Google Assistant API and press Enable button.
In the same way, you select the library from the menu API & Services, select the OAuth consent screen.
Select External and add your User support email, App logo, and Developer contact information.
The next steps are Scopes, Test users, and Summary, for a basic application, use the button: SAVE AND CONTINUE.
Return to your project from the console actions google and you can make all settings for your new assistant project.
You can give it a name and a voice and use the Save button, see the next image:

The next step is to allow it over activity controls.
Using this project you can go to Build your Action to build your first Action with the Dialogflow and test it out in the simulator.
But this part is more complex which will be explained in future tutorials.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translate »