Snowflake Integration
'Connect Snowflake to Supervity, authorize access, and use Snowflake data and actions in operators and workflows.'
This guide explains how to connect Snowflake to Supervity, what data is available after connection, how operators can use Snowflake data and actions within workflows, and how to remove the integration when needed.
Overview
The Supervity Snowflake integration allows your workspace to securely connect Snowflake as a governed platform capability.
Once connected, operators and workflows can use Snowflake data and actions to automate business processes, inspect data models, execute analytical queries, and coordinate work across systems.
With the Snowflake integration, Supervity can:
- Execute governed queries against Snowflake warehouses
- List accessible databases and schemas across your account
- Inspect tables and retrieve column schemas for data mapping
- Extract high-volume event logs incrementally using watermarking
- Monitor execution status of long-running operations
- Cancel ongoing query executions safely
- Use Snowflake datasets as context for operators
- Trigger workflows based on Snowflake data and analytical outputs
All Snowflake access is governed through Supervity's security, permissions, and audit controls.
Prerequisites
Before connecting Snowflake, ensure you have:
- An active Supervity workspace
- An active Snowflake account with an administrator or authorized user
- Your Snowflake account identifier or base URL (e.g.,
https://xy12345.us-east-1.snowflakecomputing.comorxy12345.us-east-1)- Network policy configured to allow incoming traffic to your Snowflake account
- A dedicated least-privilege custom role (e.g.,
SUPERVITY_ROLE) created and assigned to the integration user- A Programmable Access Token (PAT) generated and scoped strictly to your dedicated integration role
- A target virtual warehouse created and running (default
COMPUTE_WHor a dedicated custom warehouse)- Appropriate role permissions granted across warehouses, databases, schemas, and tables
Snowflake Account Setup Steps
To prepare your Snowflake account for connection:
- Get Account Base URL: Locate your account identifier or base account URL from your Snowflake console locator.
- Configure Network Policy: Using the
ACCOUNTADMINrole, verify or configure your network policy (e.g., an allow policy) to ensure external connections are permitted. - Configure Integration Role: Create a dedicated least-privilege role (such as
SUPERVITY_ROLE) and assign it to your integration user. Avoid using administrative roles likeACCOUNTADMINorSYSADMIN. - Generate Programmable Access Token (PAT):
- Log in to your Snowflake account.
- Go to Settings → Authentication.
- Click Generate token.
- Select your dedicated integration role (e.g.,
SUPERVITY_ROLE). Do not select "All roles". - Copy and securely store the generated token.
- Configure Permissions: Grant the dedicated role least-privilege access (
USAGE,SELECT) to only the required warehouse, database, schema, and tables.
Adding the Snowflake Integration
Follow these steps to connect Snowflake to Supervity. If you encounter any issues during setup, refer to the Troubleshooting section of this guide.
Step 1: Open Integrations
- Log in to Supervity.
- From the left navigation bar, click the Integrations icon.
This opens the Integrations page, where all available integrations are listed. Connected integrations and available integrations can both be managed from this page.
Step 2: Select Snowflake
- Locate Snowflake in the available integrations list.
- Click Connect.
Step 3: Authorize Access
You will be prompted to enter your Snowflake connection details:
- Account URL or Identifier: Provide your Snowflake account base URL or account identifier (e.g.,
https://xy12345.us-east-1.snowflakecomputing.comorxy12345.us-east-1). - API Token / PAT: Enter the Programmable Access Token generated under your Snowflake account settings.
- Review your connection settings and click Connect.
- Supervity authenticates directly with Snowflake over an encrypted TLS connection.
- Your Snowflake login password is never shared with or stored by Supervity.
Step 4: Complete Connection
After authentication, Supervity verifies access to your account.
The Snowflake integration will appear as Connected on the Integrations page. Your workspace can now securely access Snowflake capabilities according to the permissions granted.
Having trouble? See the Troubleshooting section for step-by-step help with common setup issues.
How Snowflake Works in Supervity
After connection, Snowflake becomes available as a governed platform tool.
Operators can use Snowflake capabilities when planning and executing tasks, while workflows can automate actions using Snowflake data.
Common use cases include:
- Running analytical and operational data queries
- Exploring database metadata and schema definitions
- Inspecting column schemas for field mapping
- Ingesting process event logs using timestamp watermarks
- Checking progress and managing query lifecycle
- Generating summaries and business insights from enterprise data
- Triggering downstream workflows
- Synchronizing Snowflake records with other connected systems
Using Snowflake in Operators
Connected Snowflake capabilities become available to operators automatically. Operators determine when Snowflake data or actions are required to complete a task and execute accordingly, while remaining governed by workspace permissions, security controls, and approval policies.
What Operators Can Do with Snowflake
Operators can perform the following actions using Snowflake:
- Execute analytical and operational queries against designated warehouses
- Retrieve lists of accessible databases and schemas
- List tables within designated databases and schemas
- Inspect table column definitions, names, and data types
- Incrementally pull batch event logs for process mining and analysis
- Monitor asynchronous query execution status
- Cancel running statements to optimize warehouse usage
- Correlate enterprise warehouse data with CRM, ERP, and operational tools
- Generate summaries, insights, follow-up actions, and reports from warehouse data
- Combine Snowflake data with other connected applications for end-to-end automation
Typical Operator Use Cases
| Use Case | Example |
|---|---|
| SQL Execution | Run ad-hoc operational queries and deliver structured results |
| Metadata Discovery | Enumerate available databases, schemas, and tables |
| Schema Inspection | Retrieve column names and data types to prepare data transformation |
| Event Log Extraction | Extract incremental batches of audit or process logs using watermarks |
| Query Monitoring | Check execution status of statements and handle completions |
| Query Management | Cancel long-running or stalled queries automatically |
| Data Synchronization | Transfer aggregated analytics to downstream systems and CRMs |
| Operational Reporting | Compile key performance metrics from data warehouse tables |
| Knowledge Capture | Summarize business trends and warehouse insights for teams |
| Follow-Up Automation | Trigger notifications, tickets, or approvals from query results |
Features & Prerequisites
For each Snowflake capability available in Supervity, the following describes the use case and the prerequisites required before use.
Execute SQL Query
Use Case: Execute SQL queries against a designated virtual warehouse to retrieve analytics, generate reports, or automate operational data extraction.
Prerequisites:
- Snowflake connected to Supervity
- Active virtual warehouse with operational capacity
- Sufficient role privileges to query target objects
Database & Schema Discovery
Use Case: Enumerate databases and schemas across the account to help operators dynamically discover available data assets and navigation paths.
Prerequisites:
- Snowflake connected to Supervity
- Active virtual warehouse
- Usage or browse privileges on the target databases
Table & Column Inspection
Use Case: Inspect tables and review column specifications and data types to verify structure before extracting or mapping records.
Prerequisites:
- Snowflake connected to Supervity
- Active virtual warehouse
- Access permissions on the schema information repository
Batch Event Log Extraction
Use Case: Extract process mining event logs and transactional history in incremental batches using timestamp watermarking for continuous data pipelines.
Prerequisites:
- Snowflake connected to Supervity
- Target table containing timestamped event or transactional records
- Designated timestamp column for watermarking
Query Status Monitoring
Use Case: Monitor asynchronous query operations and retrieve execution outcomes once processing completes.
Prerequisites:
- Snowflake connected to Supervity
- Valid statement identifier from an issued query
Query Cancellation
Use Case: Terminate ongoing query executions to prevent resource contention and avoid unnecessary warehouse credits.
Prerequisites:
- Snowflake connected to Supervity
- Valid statement identifier of a running execution
- Sufficient role permissions to cancel statements
Permissions Requested
Supervity only requests the access required for enabled Snowflake capabilities.
Depending on the features used in your workspace, permissions may include:
| Permission Type | Purpose |
|---|---|
| Warehouse Usage | Run statements on virtual warehouses |
| Metadata Access | Read catalog information for databases, schemas, tables |
| Table Data Access | Query and extract data from permitted tables and views |
| Column Inspection | View column definitions and structural types |
| Statement Management | Monitor execution progress and cancel statements |
Recommended Snowflake Permission Matrix
Supervity follows the principle of least privilege. Do not use administrative roles such as ACCOUNTADMIN or SYSADMIN, and never grant warehouse usage to the PUBLIC role.
Execute the following commands in Snowflake using an administrative role (e.g., SECURITYADMIN or USERADMIN) to configure a dedicated role with least-privilege access: