mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
| .. | ||
| README.md | ||
| using-oauth-calendar.gif | ||
| using-service-account.gif | ||
| permalink |
|---|
| /credentials/google |
You can find information about the operations supported by the Google node on the integrations page. You can also browse the source code of the node on GitHub.
Prerequisites
Create a Google Cloud account.
Using OAuth
- Access your Google Cloud Console.
- Click on the hamburger menu on the top left.
- Click on API & Services.
- Click on Credentials.
- Click on Create Credentials.
- Select OAuth client ID.
- Select 'Web application' as the Application type.
- Click on the Add URL button under the 'Authorized redirect URIs' section.
- Copy your OAuth Callback URL from the 'Create New Credentials screen' in n8n and paste it there.
- Click on the Create button in the Google cloud console.
- Use provided Client Secret and Client ID with your Google node credentials in n8n.
- While still in n8n, click on the Connect button in the OAuth section, and once the connection is complete, click on the Create button.
- Now, go back to the Google cloud console and click on Library in the menu on the left.
- Search for the API that you want to enable. For example, search for 'Calendar', and click on 'Google Calendar API'.
- Click on the Enable button.
Using Service Account
- Access your Google Cloud Console.
- Click on the hamburger menu on the top left.
- Click on API & Services.
- Click on Credentials.
- Click on Create Credentials.
- Click on Service Account.
- Choose your preferences.
- Fill out information for your service account.
- You will receive a
.jsonfile with your credentials. - Use the values of client_email and private_key for your Google Credentials in the n8n node.
- Before entering the private_key in n8n, make sure that you replace all the
\nwith new lines.

