Content Authority is always exploring new ways to enhance it’s clients performances and in the background we have been testing alot of Ai processes and we found it was required to get API keys which sound confusing, this is just a data connection in simple terms.

If you are new to n8n and learning like most of us are right now. Then this might help you out as I had to learn the hard way.

Simple guide to solve your problem.

Connecting Google Gemini GPT Model API for N8N How to:

Must have or pre requisites:

  • Google Cloud account
  • Google Cloud Platform project

Step 1. Create an API Key

Google Ai Studio - Create an Api Key for Google Gemini Connection into n8n automation flows

 

Step 2: Click Create API Key

Step 2 - Click Create an Api Key for Google Gemini Connection into n8n automation flows

You will see another box appear, something like this… providing you with two options…

Option A. You can choose from an existing API key from your Google Cloud or (Google Developer Account) previously known as.

If you have not done this before, then most likely all you need is to go with Option B if you just are starting out.

Option B. Create API Key in a new project

Step 2,1 - Click Create an Api Key for Google Gemini Connection into n8n automation flows

This will then show you a popup with your API key generated. Please note never share your API key with anyone. Hence, this is why our API key is blocked out. This should be a long random code of numbers and characters randomly generated with a copy button at the end.

Step 2,3 - API Key Created popup for Google Gemini Connection into n8n automation flows

Step 3. Add Credentials in n8n to your worker

Now this is where you will go back to your n8n account Ai Agent and go to your AI worker agent credentials and add your new Google Gemini API key and  remember to click save in top right hand corner after adding your credentials.

Step 3 - Add your new Google Gemini API key Credentials in n8n to your worker

 

Once saved, you can use these credentials with the Google Gemini and Google PaLM nodes in your n8n Ai Agent workflows.

 

We are growing in Ai and we would love to help you out in any way we could. Sometimes it is simple things like this that makes all the difference and that is how we can help. We are always around to fill in the gaps to make your Ai journey a little less stressful when getting started with n8n.

 

If you have any other questions, don’t hesitate to get in touch with one of the team at sales@contentauthority.com.au.

You can see all our reviews here: https://maps.app.goo.gl/tejHQRrs1eEhv38h7

You can submit an enquiry here on our Contact Us page through our online form also: https://www.contentauthority.com.au/contact-us/

Author