mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
2.2 KiB
2.2 KiB
| title | description |
|---|---|
| Google AI credentials | Documentation for the Google AI credentials. Use these credentials to authenticate Google AI nodes in n8n, a workflow automation platform. |
Google AI credentials
You can use these credentials to authenticate the following nodes:
- Embeddings Google Gemini
- Google Gemini Chat Model
- Embeddings Google PaLM
- Google PaLM Chat Model
- Google PaLM Language Model
Prerequisites
- Create a Google Cloud{:target=_blank .external-link} account.
- Create a Google Cloud Platform project{:target=_blank .external-link}.
Supported authentication methods
- Gemini(PaLM) API key
Related resources
Refer to Google's Gemini API documentation{:target=_blank .external-link} for more information about the service.
--8<-- "_snippets/integrations/builtin/cluster-nodes/langchain-overview-link.md"
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{:target=_blank .external-link}.
To create an API key:
- Go to the API Key page in Google AI Studio: https://makersuite.google.com/app/apikey{:target=_blank .external-link}.
- 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.