Google integration driving me nuts - Help! Need step-by-step guide for Google Drive & Calendar integration (new UI):

Hey folks,

I’m trying to set up the new Google integration for Google Drive and Google Calendar, but… let’s be honest: the biggest problem is sitting right in front of the monitor. :sweat_smile:

I’ve searched everywhere—docs, forums, YouTube, you name it. But here’s the issue: most tutorials are outdated (older than 6 months), and Google, in its infinite wisdom, has completely changed the UI of the Developer Console (especially the OAuth setup). Now I, as a certified beginner, am completely lost.

So here’s my desperate cry for help:
:arrow_right: Does anyone know of a step-by-step guide (with screenshots!) that covers how to set this up using the new Google Developer Portal?
:arrow_right: I’m not a pro (as you can probably tell by now), so I really need something beginner-friendly—someone to take me by the hand and walk me through this.

A simple “do this” shout from across the room won’t cut it—I need screenshots, details, and a lot of patience. :sweat_smile:

If such a guide exists, or if anyone here feels like being my hero today - no: the week, I’d be forever grateful. Right now, I’m just… completely lost.

Thanks in advance!
LEM :rocket:

2 Likes

I doubt that I am much more technical than you (if at all) and actively use the Google Calendar Integration, though I don’t remember how I did the installation several years ago. I recently needed to re-install the Google Nest Integration and went through the heavy Development Console process of Google. The steps are pretty well explained but need to be followed carefully.
After failing over and over again the re-installation of Google Nest, I read somewhere in this forum that, if installed before or attempted to install before, the Application Credential of the integration must be removed:

  • Settings
  • Devices and Services
  • 3 dots at top right
    and then try again.

The instructions are here:
Make sure to click on the links on the website that give more explanations. Yes… the process is complicated and need to be followed step-by-step, but if I can do it, then anyone can.

I’m watching this too as I tried yesterday without success. Currently have the separate addon that backs up to Google Drive but wanted to migrate to the new official integration for longer term support.

I don’t know if this is exactly what youre asking for. I did sheets and calendar recently. So for this example I’ll do Drive; as far as i know steps should be very similar (if not the same).

I dont remember if there were any previous steps to set up oauth or api keys or anything, so keep that in mind.

STEPS

  1. Search and add the integration in Home Assistant. You should then see a popup to add credentials

  2. Click the Credentials link to open Google Cloud management. Select credentials on the left side and then “Create Credentials” at the top

  3. Select “OAuth client ID”

  4. Select application type “Web Application” and give it a name
    Then click add URI and paste h ttps://my.home-assistant.io/redirect/oauth into it

  5. Click create and a popup will appear with your clientid and client secret. Copy these into the “Add Credentials” popup in HASS


  6. Click add. A new browser window will popup. Make sure to chose the right account

  7. Click continue to grant access (your screen might look a little different)

  8. Enter your home assistant url if asked

  9. Approve linking accounts

  10. DONE!

hiya ,yes, that was one of the videos I have watched and treid hard to follow but again, my console in google has different things showing behind the menus selected… that is my issue… :frowning:

So, I did all you mentioned… no success… I remember from the videos that I watched there was a step with a project that needs to be set up as first step and oauth consent screen and such… also google APIs that needed to be added to the project etc…
Maybe we are missing here a step or two before these steps you mentioned?

And the other question - in case I get drive up and running… same credentials than for calnedar etc?

I am sorry :slight_smile:

the Application Credential of the integration must be removed:

  • Settings
  • Devices and Services
  • 3 dots at top right
    and then try again.

yes… deleted my post regarding this… I did this…Now I was able to add the integrations again but see my last post w/o success

Where are you getting stuck?

…the https has an extra space, so I assume you took it out.

Unfortunately, the extra steps of creating a project i did some time ago and they only have to be done once, so I cant recall what the steps where and I cant go through them again to document.

Enabling APIs should be a matter of going to the Google Cloud dashboard, select Enabled APIs and Services, click enable and follow the steps. If i remember correctly this was just a few clicks and the ui guides you.

Credentialwise, I defined each Google product as its own web application, so i went through the process I shared for each product, that way I have different credentials for each. I am not sure if a single clientid and secret can be reused

I know how frustrating the process is but I have no further suggestions right now.

I also had problems with this integration since some days; now I have found the reason why the process was not successful.

(screenshots in german environment):

After creating the OAuth client I had to to follow the shown link to get into the next configuration level:

In this menu entry I had to change “Test” to “production”. Before I was never directed to this menu entry so it seems to be (in my environment) an additional needed configuration:

1 Like

I spent a while on this before finally getting Google Calendar working . The instructions that are out there are not up to date or correct probably due to Googles changes. I just made the change to put the project to production as in the last post but it was working before that in testing but i had to add my google email as a test user under the audience part here

Also I only found the url redirect instructions in this post so there are lots of bits all over the place for this. I am not confident I could retrace my steps to document it in order now as i tried so many different things. It does need a rewrite though as the integrations add page is lacking and points to out of date info.