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
- Go to Google AI Studio
- Sign in with your Google account
- Click Get API Key in the top menu
- Click Create API key
- Select a Google Cloud project or create a new one
- Copy the generated API key
Configuring in Nirvai
- In Nirvai, go to Credentials > Add Credential
- Select Google Gemini API Key
- Paste your API key
- 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
Related Resources
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.