Google Gemini(PaLM) credentials
You can use these credentials to authenticate the following nodes:
Prerequisites
- Create a Google Cloud (opens in a new tab) account.
- Create a Google Cloud Platform project (opens in a new tab).
Supported authentication methods
- Gemini(PaLM) API key
Related resources
Refer to Google's Gemini API documentation (opens in a new tab) for more information about the service.
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 (opens in a new tab).
⚠️
Custom hosts not supported: The related nodes don't yet support custom hosts or proxies for the API host and must use https://generativelanguage.googleapis.com.
To create an API key:
- Go to the API Key page in Google AI Studio: https://aistudio.google.com/apikey (opens in a new tab).
- Select Create API Key.
- 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.
- Copy the generated API key and add it to your n8n credential.