diff --git a/source/_integrations/google_mail.markdown b/source/_integrations/google_mail.markdown index e3ab58a9733..ab133c30a09 100644 --- a/source/_integrations/google_mail.markdown +++ b/source/_integrations/google_mail.markdown @@ -21,7 +21,8 @@ The Google Mail integration allows you to connect your [Google Mail](https://mai You need to configure developer credentials to allow Home Assistant to access your Google Account. These credentials are the same as the ones for [Nest](/integrations/nest) and [Google Sheets](/integrations/google_sheets). -If you have already set up credentials, you can do step 1 and then skip to step 13 on the below instructions. +These are not the same as the one for [Google Calendar](/integrations/google). +If you have already set up the correct credentials, you can do step 1 and then skip to step 13 on the below instructions. {% details "Generate Client ID and Client Secret" %} @@ -43,7 +44,7 @@ This section explains how to generate a Client ID and Client Secret on 13. Make sure **Publishing status** is set to production. 14. Click **Credentials** in the menu on the left-hand side of the screen, then click **Create credentials** (at the top of the screen), then select *OAuth client ID*. 15. Set the Application type to *Web application* and give this credential set a name (like "Home Assistant Credentials"). -16. Add https://my.home-assistant.io/redirect/oauth to *Authorized redirect URIs* then click **Create**. +16. Add https://my.home-assistant.io/redirect/oauth to *Authorized redirect URIs* then click **Create**. This is not a placeholder and is the URI that must be used. 17. You will then be presented with a pop-up saying *OAuth client created* showing *Your Client ID* and *Your Client Secret*. Make a note of these (for example, copy and paste them into a text editor), as you will need these shortly. Once you have noted these strings, click **OK**. If you need to find these credentials again at any point, then navigate to *APIs & Services > Credentials*, and you will see *Home Assistant Credentials* (or whatever you named them in the previous step) under *OAuth 2.0 Client IDs*. To view both the *Client ID* and *Client secret*, click on the pencil icon; this will take you to the settings page for these credentials, and the information will be on the right-hand side of the page. 18. Double-check that the *Gmail API* has been automatically enabled. To do this, select **Library** from the menu, then search for *Gmail API*. If it is enabled you will see *API Enabled* with a green tick next to it. If it is not enabled, then enable it. diff --git a/source/_integrations/google_sheets.markdown b/source/_integrations/google_sheets.markdown index 149940c5a4b..29380f28e80 100644 --- a/source/_integrations/google_sheets.markdown +++ b/source/_integrations/google_sheets.markdown @@ -20,8 +20,9 @@ The integration currently only has access to that one document that is created d ## Prerequisites You need to configure developer credentials to allow Home Assistant to access your Google Account. -These credentials are the same as the ones for [Nest](/integrations/nest). -If you have already set up credentials, you can do step 1 and then skip to step 13 on the below instructions. +These credentials are the same as the ones for [Nest](/integrations/nest) and [Google Mail](/integrations/google_mail). +These are not the same as the one for [Google Calendar](/integrations/google). +If you have already set up the correct credentials, you can do step 1 and then skip to step 13 on the below instructions. {% details "Generate Client ID and Client Secret" %} @@ -43,7 +44,7 @@ This section explains how to generate a Client ID and Client Secret on 13. Make sure **Publishing status** is set to production. 14. Click **Credentials** in the menu on the left hand side of the screen, then click **Create credentials** (at the top of the screen), then select *OAuth client ID*. 15. Set the Application type to *Web application* and give this credential set a name (like "Home Assistant Credentials"). -16. Add https://my.home-assistant.io/redirect/oauth to *Authorized redirect URIs* then click **Create**. +16. Add https://my.home-assistant.io/redirect/oauth to *Authorized redirect URIs* then click **Create**. This is not a placeholder and is the URI that must be used. 17. You will then be presented with a pop-up saying *OAuth client created* showing *Your Client ID* and *Your Client Secret*. Make a note of these (for example, copy and paste them into a text editor) as you will need these shortly. Once you have noted these strings, click **OK**. If you need to find these credentials again at any point then simply navigate to *APIs & Services > Credentials* and you will see *Home Assistant Credentials* (or whatever you named them in the previous step) under *OAuth 2.0 Client IDs*. To view both the *Client ID* and *Client secret*, click on the pencil icon, this will take you to the settings page for these credentials and the information will be on the right hand side of the page. 18. Double check that the *Google Drive API* has been automatically enabled. To do this, select **Library** from the menu, then search for *Google Drive API*. If it is enabled you will see *API Enabled* with a green tick next to it. If it is not enabled, then enable it.