To connect credentials, you need to log in to Google Cloud Console: https://console.cloud.goo and log in to your Google account
Next, go to the API & Services => Credentials section
here we click Create project
fill in and click Create
Now we will have a window where you need to select Create credentials
and then select OAuth client ID
Here we click Configure consent screen
then click Get started and fill out this form with any information
Then go to the OAuth consent screen section and click on Clients ⇒ Create client
be sure to choose Web application
add Redirect URL from n8n
to the section of the same name
After creating a client, click on the pencil icon
and then we get the data we need: Client secret, Client ID
Next, go to the Google Cloud Console home page and search for Google Drive API
click enable, and then go back to n8n and enter the required data
click Save, then click Sign In with Google and select your account
choose “Continue”
Then you provide full access rights and that's it.