From b002dc59be73ae58d2e3708b674ccda3d4a9a269 Mon Sep 17 00:00:00 2001 From: Adam <22942687+SilvrrGIT@users.noreply.github.com> Date: Fri, 3 Feb 2023 10:21:27 -0600 Subject: [PATCH] Correct API Naming (#26080) --- source/_integrations/google_mail.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_integrations/google_mail.markdown b/source/_integrations/google_mail.markdown index 432ab969db2..e3ab58a9733 100644 --- a/source/_integrations/google_mail.markdown +++ b/source/_integrations/google_mail.markdown @@ -28,9 +28,9 @@ If you have already set up credentials, you can do step 1 and then skip to step This section explains how to generate a Client ID and Client Secret on [Google Developers Console](https://console.cloud.google.com/apis/library/gmail.googleapis.com?project=home-assistant-17698). -1. First, go to the Google Developers Console to enable [Google Mail API](https://console.cloud.google.com/apis/library/gmail.googleapis.com?project=home-assistant-17698) +1. First, go to the Google Developers Console to enable [Gmail API](https://console.cloud.google.com/apis/library/gmail.googleapis.com?project=home-assistant-17698) 2. The wizard will ask you to choose a project to manage your application. Select a project and click continue. -3. Verify that your drive API was enabled and click 'Go to credentials' +3. Verify that your Gmail API was enabled and click 'Go to credentials' 4. Navigate to APIs & Services (left sidebar) > [Credentials](https://console.cloud.google.com/apis/credentials) 5. Click on the field on the left of the screen, **OAuth Consent Screen**. 6. Select **External** and **Create**. @@ -45,7 +45,7 @@ This section explains how to generate a Client ID and Client Secret on 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**. 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 *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. +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. {% enddetails %}