type
Post
status
Published
date
Aug 9, 2025
slug
get-and-set-google-api
summary
When we use n8n, we often use various Google services, such as Google Sheets, Gmail, Youtube APIs. This article will teach you how to apply for Google Developer and how the n8n backend connects to various Google APIs.
tags
AI
Develop
n8n
Tutorial
category
AI
icon
password
- Click on the following link 👇 to open the Google API interfaces panel
- It is recommended to create a separate project for n8n

- Click on "New Project"

- Name it whatever you want

- Create OAuth credentials

- Before creating credentials, you need to create a Google Authorization Panel.

- Fill in the following fields as required



- Create OAuth client credentials

- Here the following "Authorized redirect URIs" are required to be filled in, this URI we need to get from our self deployed n8n backend.

10. Let's open the n8n backend, and let's add Google Forms API connection as an example.
This is the n8n I created, if you haven't built your own, or you built it locally, you can't connect to Google related services and some AI related services. If you think it's troublesome to create your own, you can use mine directly, I only charge a very low basic server fee, so that everyone can learn how to use n8n. micro-signal: plzwaiting.

- Clicking on the link in the box below "OAuth Redirect URL" will automatically copy this link.

- Copy this link to the Google Credentials backend.

- Record the "Client ID" and "Client Secret". You'll need them a lot later.

- Let's go back to n8n backend, paste the above copied Client ID and Client secret into the corresponding location, and then click "Login to Google" to verify.

- Verify Google developer account, you need to bind credit card.



- Author:Luoye
- URL:https://blog.yeluo.io/article/get-and-set-google-api
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!


