Google Gemini
Integrate your application with the Google Gemini API
🚀 Quickstart
Connect to Google Gemini with Tenklo and see data flow in 2 minutes.
In Tenklo (free signup), go to Integrations -> Configure New Integration -> Google Gemini.
Go to Connections -> Add Test Connection -> Authorize, then enter your Google Gemini API key. Later, you'll let your users do the same directly from your app.
Let's make your first request to the Google Gemini API (list models). Replace the placeholders below with your API key, integration ID, and connection ID:
curl "https://api.tenklo.dev/proxy/v1beta/models" \
-H "Authorization: Bearer <NANGO-API-KEY>" \
-H "Provider-Config-Key: <INTEGRATION-ID>" \
-H "Connection-Id: <CONNECTION-ID>"Or fetch credentials with the Node SDK or API.
✅ You're connected! Check the Logs tab in Tenklo to inspect requests.
Follow our Auth implementation guide to integrate Tenklo in your app.
📚 Google Gemini Integration Guides
Tenklo maintained guides for common use cases.
- How do I link my Google Gemini account?
Learn how to generate your Google Gemini API key and authenticate with Google Gemini
Official docs: Google Gemini API docs
🧩 Pre-built syncs & actions for Google Gemini
Explore Nango-provided actions in your dashboard. Extend and customize them to fit your needs.
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
batch-embed-contents | Generate embeddings for multiple text contents in a single request. | Action | 🔗 Github |
count-tokens | Count tokens for a given request without generating a response. | Action | 🔗 Github |
delete-file | Delete an uploaded file from the Gemini Files API. | Action | 🔗 Github |
embed-content | Generate a single embedding vector for text content. | Action | 🔗 Github |
generate-content | Generate content using a Gemini model with optional system instructions, tools, and generation config. | Action | 🔗 Github |
get-file | Retrieve metadata for a specific uploaded file. | Action | 🔗 Github |
get-model | Retrieve a specific Gemini model by name. | Action | 🔗 Github |
list-cached-contents | List cached content entries (context cache) with pagination. | Action | 🔗 Github |
list-files | List files uploaded to the Gemini Files API. | Action | 🔗 Github |
list-models | List available Gemini models with pagination. | Action | 🔗 Github |
cached-contents | Sync cached content entries (context cache) | Sync | 🔗 Github |
models | Sync available Gemini models | Sync | 🔗 Github |