![]() |
VOOZH | about |
Gemini CLI is a command-line interface tool that provides direct access to Google's Gemini AI models for code generation, text analysis, and conversational AI capabilities. When combined with CData Connect AI Remote MCP, you can leverage Gemini CLI to interact with your Snowflake data in real-time through natural language queries. This article outlines the process of connecting to Snowflake using Connect AI Remote MCP and configuring Gemini CLI to interact with your Snowflake data.
CData Connect AI offers a dedicated cloud-to-cloud interface for connecting to Snowflake data. The CData Connect AI Remote MCP Server enables secure communication between Gemini CLI and Snowflake. This allows you to ask questions and take actions on your Snowflake data using natural language through Gemini CLI, all without the need for data replication to a natively supported database. With its inherent optimized data processing capabilities, CData Connect AI efficiently channels all supported SQL operations, including filters and JOINs, directly to Snowflake. This leverages server-side processing to swiftly deliver the requested Snowflake data.
In this article, we show how to configure Gemini CLI to conversationally explore (or Vibe Query) your data using natural language. With Connect AI you can query and interact with live Snowflake data, plus hundreds of other sources.
CData simplifies access and integration of live Snowflake data. Our customers leverage CData connectivity to:
Many CData users use CData solutions to access Snowflake from their preferred tools and applications, and replicate data from their disparate systems into Snowflake for comprehensive warehousing and analytics.
For more information on integrating Snowflake with CData solutions, refer to our blog: https://www.cdata.com/blog/snowflake-integrations.
Connectivity to Snowflake from Gemini CLI is made possible through CData Connect AI Remote MCP. To interact with Snowflake data from Gemini CLI, we start by creating and configuring a Snowflake connection in CData Connect AI.
To connect to Snowflake:
See the Getting Started guide in the CData driver documentation for more information.
๐ Configuring a connection (Salesforce is shown)A Personal Access Token (PAT) is used to authenticate the connection to Connect AI from Gemini CLI. It is best practice to create a separate PAT for each service to maintain granularity of access.
With the connection configured and a PAT generated, we are ready to connect to Snowflake data from Gemini CLI.
Follow these steps to configure Gemini CLI to connect to CData Connect AI:
npm install -g @google-gemini/cli
{
"mcpServers": {
"cdata-connect-cloud": {
"httpUrl": "https://mcp.cloud.cdata.com/mcp",
"headers": {
"Authorization": "Basic YOUR_EMAIL:YOUR_PAT"
}
}
}
}
For example, if your email is [email protected] and your PAT is Uu90pt5vEO..., the Authorization header would be:
"Authorization": "Basic [email protected]:Uu90pt5vEO..."
With Gemini CLI configured and connected to CData Connect AI, you can now interact with your Snowflake data using natural language queries. The MCP integration allows you to ask questions and receive responses from the Snowflake data source in real-time.
Start using Gemini CLI to explore your data:
gemini
The combination of Gemini CLI's natural language processing capabilities and CData Connect AI's robust data connectivity enables you to explore and analyze your Snowflake data without writing complex SQL queries or needing deep technical knowledge of the underlying data structure.
To get live data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your cloud applications, try CData Connect AI today!
Learn more about CData Connect AI or sign up for free trial access:
Free Trial