Stay organized with collections
Save and categorize content based on your preferences.
A Google Cloud Platform project gives your project access to the Google Assistant API.
The project tracks quota usage and gives you valuable metrics for the
requests made from your hardware.
To enable access to the Google Assistant API, do the following:
In the Cloud Platform Console, go to the Projects page. Select an existing
project or create a new project.
You may need to set a product name for the product consent screen. On
the OAuth consent screen tab, give the product a name and click
Save.
Click Other and give the client ID a name.
Click Create. A dialog box appears that shows you a client ID and
secret. (No need to remember or save this, just close the dialog.)
Click ⬇ (at the far right of screen) for the client ID to download
the client secret JSON file (client_secret_<client-id>.json).
The client_secret_<client-id>.json file must be located on the device to
authorize the Google Assistant SDK sample to make Google Assistant queries.
Do not rename this file.
For the Raspberry Pi only:
Make sure this file is located in /home/pi. If you want to upload the file
to the device, do the following:
Open a new terminal window. Run the following command in this new terminal:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The Google Assistant SDK is intended for non-commercial and experimental purposes only, prohibiting commercial device integration."],["A Google Cloud Platform project is necessary for accessing the Google Assistant API, enabling quota tracking and metric analysis."],["Enabling the Google Assistant API requires creating or selecting a project within the Google Cloud Platform Console and enabling the API for the project."],["An OAuth Client ID is needed and can be generated by creating a client ID, potentially setting a product name, providing a client ID name, and downloading the client secret JSON file."],["The client secret JSON file, essential for authorization, must be placed on the device, specifically in `/home/pi` for Raspberry Pi, potentially requiring secure copy transfer from a local machine."]]],[]]