mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 09:28:43 +07:00
4.7 KiB
4.7 KiB
title, description, contentType
| title | description | contentType |
|---|---|---|
| Google credentials | Documentation for Google credentials. Use these credentials to authenticate Google in n8n, a workflow automation platform. | overview |
Google credentials
This section contains:
- OAuth2 single service: Create an OAuth2 credential for a specific service node, such as the Gmail node.
- OAuth2 generic: Create an OAuth2 credential for use with custom operations.
- Service Account: Create a Service Account credential for some specific service nodes.
- Google PaLM and Gemini: Get a Google Gemini/Google PaLM API key.
OAuth2 and Service Account
There are two authentication methods available for Google services nodes:
- OAuth2: Recommended because it's more widely available and easier to set up.
- Service Account: Refer to the Google documentation: Understanding service accounts for guidance on when you need a service account.
--8<-- "_snippets/integrations/managed-google-oauth.md"
Compatible nodes
Once configured, you can use your credentials to authenticate the following nodes. Most nodes are compatible with OAuth2 authentication. Support for Service Account authentication is limited.
| Node | OAuth | Service Account |
|---|---|---|
| Google Ads | ✅ | ❌ |
| Gmail | ✅ | ⚠️ |
| Google Analytics | ✅ | ❌ |
| Google BigQuery | ✅ | ✅ |
| Google Books | ✅ | ✅ |
| Google Calendar | ✅ | ❌ |
| Google Chat | ✅ | ✅ |
| Google Cloud Storage | ✅ | ❌ |
| Google Contacts | ✅ | ❌ |
| Google Cloud Firestore | ✅ | ✅ |
| Google Cloud Natural Language | ✅ | ❌ |
| Google Cloud Realtime Database | ✅ | ❌ |
| Google Docs | ✅ | ✅ |
| Google Drive | ✅ | ✅ |
| Google Drive Trigger | ✅ | ✅ |
| Google Perspective | ✅ | ❌ |
| Google Sheets | ✅ | ✅ |
| Google Slides | ✅ | ✅ |
| Google Tasks | ✅ | ❌ |
| Google Translate | ✅ | ✅ |
| Google Workspace Admin | ✅ | ❌ |
| YouTube | ✅ | ❌ |
/// warning | Gmail and Service Accounts Google technically supports Service Accounts for use with Gmail, but it requires enabling domain-wide delegation, which Google discourages, and its behavior can be inconsistent.
n8n recommends using OAuth2 with the Gmail node. ///