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.
- Google PaLM and Gemini: get your API key to work with Google PaLM and Google Gemini nodes.
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.
Note for n8n Cloud users
For the following nodes, you can authenticate by selecting Sign in with Google in the OAuth section:
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.