In this guide, you’ll learn how to:
- Connect your Gemini account to Rocket.
- Get your API key from Google AI Studio.
- Add it securely in Rocket to start using Gemini for AI tasks.
Your API key stays safe with Rocket.
It is encrypted at rest and never exposed, so you can connect with confidence.
It is encrypted at rest and never exposed, so you can connect with confidence.
Before you begin
You’ll need:
- A Rocket account - rocket.new.
- A Google account with access to Gemini.
Connect Gemini to Rocket
1
Get your Gemini API key
Visit Google AI Studio to create or copy your Gemini API key.
Gemini API keys give you access to Google’s multimodal AI models.
Keys are linked to your Google account and can be managed in AI Studio.
Always keep your API key secure and rotate it if you believe it has been exposed.
Keys are linked to your Google account and can be managed in AI Studio.
Always keep your API key secure and rotate it if you believe it has been exposed.
2
Add your Gemini API key in Rocket
You can connect Gemini in two ways:Method 1: Use Rocket Chat (fastest)Method 2: From a Rocket project
-
In any project, open the chat panel and type something like:
Connect Gemini AI to:
Generate text summaries or titles.
Add a multimodal input field that accepts image + text.
Respond to user questions with Gemini-powered answers.
-
A popup will appear where you can paste and save your Gemini API key instantly.
Gemini integration popup in chat
This is ideal if you are already chatting with Rocket while building. No clicks, just action.
- Open any project.
-
Go to Integrations.
Integrations tab
-
Scroll to Gemini and click it.
Gemini integration card in Rocket
When you connect Gemini from Project Settings, Rocket will not automatically create AI flows.After saving your key, you must describe the Gemini-powered tasks you want in chat for Rocket to implement them.
3
Save your Gemini API key in Rocket
- In Rocket’s Gemini integration screen, paste your API key into the input field.
- Click Save to complete setup.
Success check: You will see a green dot next to Gemini in your integrations list.
Important Security Notice:
Never paste your API key directly into Rocket chat.
Always use the secure integration flow or input field provided in settings to connect your account safely.
Never paste your API key directly into Rocket chat.
Always use the secure integration flow or input field provided in settings to connect your account safely.
4
Update or remove your Gemini API key
- Return to the Gemini integration in Project Settings.
-
You can update your API key or click Remove to disconnect.
Remove Gemini integration
Gemini supports text, image, and vision-based inputs.
For advanced use cases, Rocket can help you design prompts that combine them intelligently.
For advanced use cases, Rocket can help you design prompts that combine them intelligently.
You did it!
Gemini is now connected to your Rocket project. You can now build rich, multimodal AI experiences using Google’s latest models.
Need help? We are here for you.
Email us at support@rocket.new or join our Discord community to get help, share ideas, and connect with other creators.
Email us at support@rocket.new or join our Discord community to get help, share ideas, and connect with other creators.