Skip to content

Google credentials#

This section contains:

OAuth2 and Service Account#

There are two authentication methods available for Google services nodes, OAuth2 and Service Account. n8n recommends using OAuth. It's more widely available, and easier to set up. Refer to the Google documentation: Understanding service accounts for guidance on when you need service account.

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.

Compatibility
Node OAuth Service Account
G Suite Admin ✅ ❌
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 ✅ ✅
YouTube ✅ ❌

Note for n8n Cloud users

For the following nodes, you can authenticate by entering the Credentials Name and selecting Sign in with Google in the OAuth section to connect your Google account to n8n: