Skip to content
Home » Insights & Updates » How to Get Your Free Google Gemini API Key in 1 Minute

How to Get Your Free Google Gemini API Key in 1 Minute

Before you can use the HttpGemini plugin to bring powerful AI features to your Unreal Engine project, you need to get a Gemini API Key from Google. This quick, step-by-step guide will show you exactly how to generate your free key.

Navigate to Google AI Studio

First, go to the Google AI Studio website. If you see an introductory pop-up, simply close it to continue.

Closing the initial pop-up in Google AI Studio to access the API key section.

Create a New API Key

In the main dashboard, find and click the “Create API key” button, located in the top right corner.

Clicking the 'Create API key' button in the Google AI Studio dashboard.

Create a New Project

An API key must be associated with a project. In the dialog that appears, click on the “+ Create project” option.

Creating a new Google Cloud project for the Gemini API key.

Name Your Project

Give your new project a descriptive name. This helps you organize your keys later. For example, MyUnrealAIProject. Then, click “Create project”.

Entering a project name and creating the new project for the Gemini API.

Generate the Key

After your project is created and selected, you can give your key a name (e.g., HttpGeminiKey). Finally, click the “Create key” button to generate your unique API key.

Finalizing the Gemini API key creation by clicking 'Create key'.

View Your New Key

Success! Your new key will now appear in your API Keys dashboard. This confirms that the key has been successfully created.

The newly created Gemini API key listed in the dashboard.

Copy the API Key

Click on the key to see its details. In the pop-up window, click the “Copy key” button to copy the full key to your clipboard.

Copying the newly generated Gemini API key to the clipboard.

Enable the Plugin in Unreal Engine

Open your Unreal Engine project and navigate to Edit > Plugins. Search for “HttpGemini” and make sure the “Enabled” checkbox is ticked.

The HttpGemini plugin enabled in the Unreal Engine plugins window.

Configure the Plugin

The final step! Go to Project Settings > Plugins > HttpGemini. Paste your copied API key into the “Gemini API Key” field.

Pasting the Gemini API key into the HttpGemini plugin settings in Unreal Engine.

You’re All Set!

Congratulations! Your project is now connected to Google’s Gemini AI. You can start using the “Send Chat Message (Gemini)” Blueprint node to bring your ideas to life.

Learn More About HttpGemini

Leave a Reply

Your email address will not be published. Required fields are marked *