Skip to main content

Google Gemini

Prefer guided AI setup?

Instead of following these steps manually, you can use the AI Credential Assistant — describe what you want to connect and the AI will walk you through the setup step by step, tailored to your account.

Overview

Connect to Google Gemini AI to access advanced language models for text generation, analysis, and multimodal tasks.

Supported Authentication Methods

  • API Key

Prerequisites

  • A Google account
  • Access to Google AI Studio

Setup Instructions

Getting Your API Key

  1. Go to Google AI Studio
  2. Sign in with your Google account
  3. Click Get API Key in the top menu
  4. Click Create API key
  5. Select a Google Cloud project or create a new one
  6. Copy the generated API key

Configuring in Nirvai

  1. In Nirvai, go to Credentials > Add Credential
  2. Select Google Gemini API Key
  3. Paste your API key
  4. Click Save

Available Models

  • Gemini Pro: Text generation and analysis
  • Gemini Pro Vision: Multimodal (text + images)
  • Gemini Ultra: Most capable model

Use Cases

  • Text generation and completion
  • Content summarization
  • Question answering
  • Code generation
  • Image analysis (with Vision models)

Troubleshooting

Common Issues

  • Invalid API Key: Verify the key was copied correctly
  • Rate Limited: Check your usage quota in Google AI Studio
  • Model Not Available: Ensure the model is available in your region

Pricing

  • Free tier available with usage limits
  • Pay-as-you-go for higher usage
  • Check Google AI pricing for details

Adapted from Google AI documentation for Nirvai platform


Next Steps

Got your credential? Connect it to an agent

Use the AI Tool Creator to turn this credential into agent-callable tools. Describe what your agent should be able to do and the AI investigates the API, configures the endpoints, and gives you a reviewable toolkit before saving anything.