Will maybe make it look better later....
Use either "py" or "python"
Test by typing "python" or "py" into cmd.
If python shows up, then yay.
Exit with Ctrl + Z, then Enter
1. Create new project
https://console.cloud.google.com/project
2. Enable Google Assistant API
https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/overview
3. Create credentials
3a. Setup OAuth consent
4. Finish Creating credentials
Where will you be calling API from "Other UI (e.g. Windows, CLI tool)
What data will you be accessing "User data".
>What credentials do I need?
5. OAuth client ID
Name it anything
(If fails, create another)
6. Download clientID .json
Ideally where easily accessible
7. Enable stuff for Google Assistant personalization
https://myactivity.google.com/activitycontrols?authuser=0
8. Setup Python virtual environment
cd to chosen environtment directory
python -m venv project_name_XXX
Run project_name_XXX\Scripts\activate.bat
9. Install Google Assistant stuff
python -m pip install google-assistant-sdk[samples]
pip install --upgrade google-auth-oauthlib[tool]
google-oauthlib-tool --client-secrets path/to/client_secret_XXXXX.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless
10. Follow instructions on screen
(Authorisation)
11. Test by Recording Audio and letting it playback
python -m googlesamples.assistant.grpc.audio_helpers
12. Starting Google Assistant
googlesamples-assistant-pushtotalk --device-model-id 'my-device-model' --device-id 'my-device-identifier'
13. Enter to activate