Google AI
Pro planAI assistants
Ground Gemini, NotebookLM, and Google Workspace AI in your live Khub knowledge.
One Khub API key connects your knowledge base to the entire Google AI ecosystem. Use it to ground Gemini responses, feed NotebookLM with current content, build grounded AI agents in Google AI Studio, and keep Google Workspace AI features accurate, all from the same source of truth.
This integration requires the Pro plan. View pricing
Connection summary
The steps below mirror the expandable card on the integrations index. Follow them in order, then use Connect on the card (or your Khub Settings screens) when you are ready to go live.
How to connect Google AI to Khub
- 1Go to Khub Settings > API Keys and generate a new key labelled Google
Create a dedicated key per vendor so you can revoke one tool without affecting others.
- 2Choose which Google product to connect first (see options below)
Store the key in that product's secret or environment field, not inside chat prompts.
- 3For Gemini in Google AI Studio: create a new Gem, add a system instruction that fetches context from your Khub REST API endpoint before responding, and set your API key as a secret variable
Store the key in that product's secret or environment field, not inside chat prompts.
- 4For NotebookLM: use the Khub REST API to export your knowledge base as a structured document, then upload it to a NotebookLM notebook as a source. Set up a recurring export via Zapier or Make to keep it current
Store the key in that product's secret or environment field, not inside chat prompts.
- 5For Google Agentspace or Vertex AI Agent Builder: add Khub as an external data source using the REST API endpoint and your API key in the agent configuration
Store the key in that product's secret or environment field, not inside chat prompts.
- 6For Google Workspace AI features (Gemini in Docs, Sheets, Gmail): use a Google Apps Script to fetch from the Khub REST API and inject relevant knowledge as context before AI-assisted actions
Allow a short delay after saving; some tools cache credentials for a few minutes.
Works with these Google products
Gemini (Google AI Studio)
Build Gems that pull live context from Khub before responding.
NotebookLM
Keep NotebookLM sources current by syncing from Khub automatically.
Google Agentspace
Add Khub as a grounding source for enterprise AI agents.
Vertex AI Agent Builder
Connect Khub as an external knowledge store for production agents.
Google Workspace (Gemini in Docs/Sheets/Gmail)
Inject Khub knowledge as context for AI-assisted Workspace actions via Apps Script.
What changes when Khub is connected
Update once
Change anything in Khub and every connected tool reflects it immediately. No manual syncing across systems.
Always accurate
Your AI tools answer from your current knowledge, not a stale snapshot from the last time someone remembered to update it.
One source of truth
Khub is the single place your business knowledge lives. Every tool you connect is an output, not a duplicate.
More integrations
Ready to connect Google AI?
Start your free Khub trial and connect your first tool in minutes.