diff --git a/source/_integrations/google_assistant.markdown b/source/_integrations/google_assistant.markdown index 06546b5f6de..be5adcf12d4 100644 --- a/source/_integrations/google_assistant.markdown +++ b/source/_integrations/google_assistant.markdown @@ -65,8 +65,31 @@ To use Google Assistant, your Home Assistant configuration has to be [externally Screenshot: Account linking 3. Select the `Develop` tab at the top of the page, then in the upper right hand corner select the `Test` button to generate the draft version Test App. If you don't see this option, go to the `Test` tab instead, click on the `Settings` button in the top right below the header, and ensure `On device testing` is enabled (if it isn't, enable it). -4. Add the `google_assistant` integration configuration to your `configuration.yaml` file and restart Home Assistant following the [configuration guide](#yaml-configuration) below. -5. Add services in the Google Home App (Note that app versions may be slightly different.) + +4. Go to [Google Cloud Platform](https://console.cloud.google.com/). + 1. Go to `Select a project`. + 2. In the window that popped up, select your newly created project from step 1. + 3. Go to the menu and select `APIs and Services`and next `Credentials`. + 4. In the Credentials view, select `Create credentials` and next `Service account`. + 1. `Service account name`: Give your account a self-selected name. + 2. Click `Create`. + 3. `Select a role`: `Service Accounts` and `Service Account Token Creator`. + 4. Click `Continue`. + 5. Click on `Done`. + 5. Under `Service Accounts` there should now be an account called [name from 4.1]@[projectname].iam.gserviceaccount.com. + 6. Click on the pencil button of that service account. + 7. Go to `Keys` and `ADD KEY`. + 8. Create a private key, make sure it is in JSON format. + 9. This will start a download of a JSON file. + 1. Rename the file to `SERVICE_ACCOUNT.JSON`. + 2. Add this file to your config-folder. This will be the same folder as your `configuration.yaml`. + 12. Go back to [Google Cloud Platform](https://console.cloud.google.com/) and click `Close`. + 13. Then click `SAVE`. + 14. Go to the `Search products and resources` and search for `Homegraph API` and select it. + 15. Enable the HomeGraph API. + +5. Add the `google_assistant` integration configuration to your `configuration.yaml` file and restart Home Assistant following the [configuration guide](#yaml-configuration) below. +6. Add services in the Google Home App (note that app versions may be slightly different). 1. Open the Google Home app. 2. Click the `+` button on the top left corner, click `Set up device`, in the "Set up a device" screen click "Works with Google". You should have `[test] ` listed under 'Add new'. Selecting that should lead you to a browser to login your Home Assistant instance, then redirect back to a screen where you can set rooms and nicknames for your devices if you wish.