Skip to content

Google AI credentials#

You can use these credentials to authenticate the following nodes:

Prerequisites#

Supported authentication methods#

  • Gemini(PaLM) API key

Refer to Google's Gemini API documentation for more information about the service.

View n8n's Advanced AI documentation.

Using Gemini(PaLM) API key#

To configure this credential, you'll need:

  • The API Host URL: Both PaLM and Gemini use the default https://generativelanguage.googleapis.com.
  • An API Key: Create a key in Google AI Studio.

To create an API key:

  1. Go to the API Key page in Google AI Studio: https://makersuite.google.com/app/apikey.
  2. Select Create API Key.
  3. You can choose whether to Create API key in new project or search for an existing Google Cloud project to Create API key in existing project.
  4. Copy the generated API key and add it to your n8n credential.