Pulling data stored in Snowflake — increasingly a cornerstone of corporate analytics infrastructure — through natural language queries in Anthropic’s Claude. As more companies consider this setup, a blog post published by CData Software lays out concrete connection steps centered on authentication and permission design. The key is combining OAuth-based authentication delegation with Snowflake’s role-based access control (RBAC) under the principle of least privilege.
In an architecture routed through the company’s managed MCP (Model Context Protocol) platform, “CData Connect AI,” OAuth, role controls, and audit logs can be consolidated into a single governed endpoint. The prerequisite, however, is preparing a Claude-dedicated role in the Snowflake environment and narrowing it to only the necessary permissions. Assigning a dedicated role prevents access to schemas and objects outside the intended scope and makes permission checks easier.
In designing the grants, each GRANT statement adds one layer of access. USAGE on the database and schema permits navigation, while SELECT on tables permits data retrieval. Claude’s connector needs only the OAuth configuration and the MCP server — no semantic model or agent framework is required. Because the role granted only SELECT is the starting point for all access, even a user with write permissions on the Snowflake side cannot modify data through Claude. The design eliminates any room for unintended DROP or INSERT operations in the first place.
Before moving on to authentication setup, you should identify Snowflake’s account identifier. To ensure compatibility with OAuth and URLs, underscores must be converted to hyphens. This is one of the failure points discussed below.
OAuth is an open standard for access delegation that lets applications connect securely without exposing credentials. Configuring an OAuth security integration in Snowflake generates the credentials that Claude or Connect AI uses for authentication. After creation, run the DESCRIBE SECURITY INTEGRATION command to retrieve the client ID and client secret, but obtaining these values requires ACCOUNTADMIN or SECURITYADMIN privileges.
There are two main stumbling blocks: mismatched redirect URIs and the account name format. The URI in Snowflake must exactly match the callback URL configured on the Connect AI side, including the protocol and path. Also, if the account identifier contains underscores, OAuth will fail, so use hyphens throughout.
Network policy configuration is also essential. Because Snowflake’s network policy controls the IP ranges from which connections can be established, add an ingress network rule permitting traffic from the Connect AI endpoint before testing the connection. Stricter policies increase security but reduce flexibility between systems — a trade-off that must be weighed.
The data path during query execution has three stages. A request from Claude is sent to Snowflake via Connect AI, Snowflake executes only SELECT and returns the results, and those results travel through Connect AI to Claude from Anthropic’s cloud infrastructure. Note that during query execution, data leaves Snowflake’s boundary. Because the connection from Claude to Connect AI’s MCP endpoint originates from Anthropic’s cloud infrastructure, the endpoint itself must be reachable over the public internet. The main compliance measures in this model are scoping the role and recording audit logs. Teams in regulated industries should confirm, before running production workloads, that these routing assumptions meet their data residency requirements.
MCP is an open standard that enables real-time, governance-compliant access between AI agents and enterprise data systems. The implementation approach depends on whether Claude needs to connect only to Snowflake or requires broad access across multiple enterprise systems.
Connection methodSuitable caseKey considerationsSnowflake native MCPYou want Claude to only query SnowflakeVerify the hyphenated account identifier format when registering the MCP server URLCData Connect AI (remote MCP)You want to connect to hundreds of data sources, including SnowflakeConsolidate access policies and credentials in one place
Note: Snowflake now natively supports MCP, so most teams do not need to host a separate server.
To add Snowflake as a data source in Connect AI, log in to the dashboard, click “Add Connection,” and select Snowflake from the connector catalog. Enter the account identifier (hyphenated), warehouse name, and the OAuth client ID and client secret you obtained, then choose an authentication method. Connect AI supports OAuth, OKTA, Azure AD, and private keys. Save the connection and confirm the status shows “Active.”
Then, on the Claude side, go to “Customize,” then “Connectors,” click “+,” find CData Connect AI in the connector list, and add it. Complete the OAuth authentication flow with your Connect AI credentials and select the Snowflake connection you configured. Check the connection status — if a valid Snowflake data source appears in Claude, you’re done. On success, Claude can access Connect AI’s MCP toolset and run governed queries against the configured schemas.
Before running production workloads, validate with read-only queries against low-sensitivity tables. Three things to check: that queries complete without authentication or permission errors, that only the granted schemas are visible, and that sessions are recorded in Snowflake’s query history under the dedicated role’s ID. After verifying basic connectivity, review the role permissions to confirm no access beyond the intended scope is possible. If there are sensitive fields, apply row-level security policies, and document operational and consent policies for data that passes through Anthropic’s or CData’s infrastructure.
Many integration failures trace back to a handful of root causes.
SymptomLikely causeFixAuthentication errorMismatched OAuth or redirect URI, underscores in the account nameStandardize the URI format on both sides and use hyphens in the identifierInsufficient privileges errorMissing USAGE on the database or schemaCheck grants with SHOW GRANTS TO ROLEConnection timeoutBlocked by network policyAdd Connect AI’s IP ranges to the ingress ruleToken expirationRefresh tokens not enabledSet OAUTH_ISSUE_REFRESH_TOKENS to TRUE
Note: Firewall blocks appear as connection timeouts, not authentication errors.
On the operational side, it is recommended to limit the dedicated role’s permissions to what is necessary for business under the principle of least privilege, and to review grants whenever the schema changes. Combining Snowflake’s built-in query history with Connect AI’s centralized audit logs lets you record every SQL statement Claude executes. In addition to regular permission reviews, maintain a state in which all AI-driven queries can be traced. Because Claude’s connector can access multiple enterprise systems simultaneously, cross-system access should be explicitly documented.
Once the connection is complete, you can analyze Snowflake data simply by asking questions in natural language. Envisioned uses include: in accounting and financial analysis, aggregating MRR by product category and region and comparing it with the prior quarter; in marketing analysis, identifying the channels that acquired high-LTV customers; and in SaaS usage analysis, extracting the features with high conversion rates from free to paid plans. All of these run only within the scope of SELECT permissions, so they can be operated without expanding permissions further.
With a Snowflake-only MCP connection, both audit logs and role management stay confined within Snowflake. Through Connect AI, the same OAuth and RBAC mechanisms can be extended to hundreds of other systems. The practical focus when letting AI agents read enterprise data is shifting from the number of features to how far you can control who can access what.