Snowflake Integration
Learn how to connect Snowflake to Transcend using Programmatic Access Tokens (PAT) or OAuth, configure permissions and network policies, and enable Structured Discovery, DSR Automation, and Preference Management.
Overview
Transcend's Snowflake integration supports Structured Discovery, DSR Automation, and Preference Management on your Snowflake data warehouse.
Connect your Snowflake data warehouse to Transcend to:
- Discover and classify personal data across your schemas
- Fulfill data subject requests (DSRs) by running the SQL statements that you write for each request type, such as access and erasure
- Write opt-out and opt-in changes to Snowflake with the SQL statements that you add to a datapoint
The integration supports both OAuth and Programmatic Access Token (PAT) authentication methods. Transcend runs synchronous queries through an ODBC driver. When Run Query Async is on, Transcend runs DSR queries through the Snowflake SDK instead. See Recommendations for Large Queries.
Note: Snowflake deprecated username & password authentication in November 2025. Use OAuth or PAT authentication instead.
Prerequisites
Before connecting, ensure you have:
- Sombra version: Sombra version 7.490.0 or later. This applies to Transcend-hosted and self-hosted Sombra.
- Snowflake Account Access: Administrative access to create users and security integrations
- User Permissions: A user with access to a default warehouse and relevant databases/schemas
- Network Access: Your Sombra IP addresses allowlisted in your Snowflake account (if using network policies). See Using Transcend-hosted Sombra for the addresses in each region.
Required Permissions
Your Snowflake user needs:
- A
default_warehouseassigned with sufficient compute resources - A role with permission to access that warehouse
- For Structured Discovery:
USAGEon databases/schemas andSELECTon tables - For DSR Automation: Any other privileges that your SQL statements use, such as
DELETEorUPDATE
Connecting Your Snowflake Integration
Snowflake Authentication Deprecation
Important: Snowflake deprecated username & password authentication in November 2025. Use OAuth or Programmatic Access Tokens (PAT) for all new and existing Transcend Snowflake integrations.
Step 1: Add the Integration
- In the Admin Dashboard, go to Integrations.
- Click + Add Integration to open the integration catalog.
- Search for Snowflake and click the Snowflake tile.
- Click + Add to create a new Snowflake integration.
- Provide a descriptive title and assign an owner.
- Click Continue to Connection Details.
Step 2: Choose Authentication Method
In the integration, click Connect → Connection Details and select your authentication method:
- Programmatic Access Token (recommended)
- OAuth
Authentication Method 1: Programmatic Access Token (PAT)
PATs are ideal for service-style, non-interactive connections.
Note: PATs expire (default 15 days, maximum 365 days). You'll need to refresh them periodically.
1. Create a service user with warehouse access
Run in Snowflake:
CREATE ROLE IF NOT EXISTS TRANSCEND_ROLE;
GRANT USAGE ON WAREHOUSE COMPUTE_WH TO ROLE TRANSCEND_ROLE;
CREATE USER TRANSCEND_USER
TYPE = SERVICE
DEFAULT_ROLE = TRANSCEND_ROLE
DEFAULT_WAREHOUSE = COMPUTE_WH;
GRANT ROLE TRANSCEND_ROLE TO USER TRANSCEND_USER;Ensure the assigned role has USAGE and SELECT on the relevant databases and schemas. For DSR Automation, the role also needs the privileges that your SQL statements use, such as UPDATE or DELETE.
2. Create and assign a network policy
Snowflake requires a network policy for a service user to generate or use a PAT. Allowlist your Sombra IP addresses using a Snowflake network policy. Replace the placeholders with the addresses for your region from Using Transcend-hosted Sombra. For self-hosted Sombra, use your Sombra cluster's IP addresses.
CREATE OR REPLACE NETWORK POLICY TRANSCEND_ACCESS_POLICY
ALLOWED_IP_LIST = ('<sombra_ip_1>/32', '<sombra_ip_2>/32');
ALTER USER TRANSCEND_USER SET NETWORK_POLICY = TRANSCEND_ACCESS_POLICY;Also ensure Transcend's backend IPs are allowlisted. See Configure a load balancer.
3. Generate a PAT
- Confirm that no authentication policy blocks PATs. If a policy sets
AUTHENTICATION_METHODS, the list must includePROGRAMMATIC_ACCESS_TOKEN. See Snowflake's authentication policy requirements. - In Snowsight, go to Governance & security → Users & roles.
- Select
TRANSCEND_USER(or your chosen service user). Under Programmatic access tokens, select Generate new token. - Copy and store the token securely; you will not be able to view it again.
4. Connect in Transcend (PAT)
In the Snowflake integration connection form, fill in:
- Account Identifier – As shown in Snowflake (see Snowflake docs for how to find it).
- Username – Your service user, e.g.
TRANSCEND_USER. - Programmatic Access Token – The PAT you generated.
- Warehouse – The warehouse name, e.g.
COMPUTE_WH. - Run Query Async – Whether to run datapoint queries asynchronously during DSR processing. The default is Yes for new connections. See Recommendations for Large Queries.
Click Connect to establish the connection.
Authentication Method 2: OAuth
OAuth is best for interactive, user-based access and supports refresh tokens.
Note: OAuth requires periodic re-authentication. Refresh tokens expire based on your configuration (default 90 days).
Requirements
You will need two Snowflake users:
- An admin user with the
ACCOUNTADMINrole to create the security integration. - A non-admin user with database access. By default, Snowflake blocks the
ACCOUNTADMIN,SECURITYADMIN,GLOBALORGADMIN, andORGADMINroles from OAuth consent, so this user must use another role. See Snowflake OAuth for custom clients.
1. Create a security integration (as admin)
Run as an ACCOUNTADMIN user:
CREATE OR REPLACE SECURITY INTEGRATION "TRANSCEND_OAUTH"
ENABLED = TRUE
TYPE = OAUTH
OAUTH_CLIENT = CUSTOM
OAUTH_CLIENT_TYPE = 'CONFIDENTIAL'
OAUTH_REDIRECT_URI = 'https://api.transcend.io/integration/snowflake/cb'
OAUTH_ISSUE_REFRESH_TOKENS = TRUE
OAUTH_REFRESH_TOKEN_VALIDITY = 7776000;For US Region: Use https://api.us.transcend.io/integration/snowflake/cb
2. Retrieve client credentials:
WITH INTEGRATION_SECRETS AS (
SELECT parse_json(system$show_oauth_client_secrets('TRANSCEND_OAUTH')) AS SECRETS
)
SELECT
SECRETS:"OAUTH_CLIENT_ID"::STRING AS CLIENT_ID,
SECRETS:"OAUTH_CLIENT_SECRET"::STRING AS CLIENT_SECRET
FROM INTEGRATION_SECRETS;3. Set up a non-admin user:
Ensure this user has:
- Access to relevant databases/schemas
- A default warehouse assigned
- Required permissions (see Required Permissions)
- No admin roles that block OAuth
Grant permissions for Structured Discovery:
GRANT USAGE ON DATABASE <database_name> TO ROLE <role_name>;
GRANT USAGE ON SCHEMA <schema_name> TO ROLE <role_name>;
GRANT SELECT ON ALL TABLES IN SCHEMA <schema_name> TO ROLE <role_name>;
GRANT SELECT ON FUTURE TABLES IN SCHEMA <schema_name> TO ROLE <role_name>;4. Create and Assign a Network Policy
If your account uses network policies, attach a policy to the security integration. Snowflake applies it when the client requests a token and when the client queries Snowflake. See Restricting network traffic for Snowflake OAuth.
The policy must allow your Sombra IP addresses. Replace the placeholders with the addresses for your region from multi-tenant Sombra. For self-hosted Sombra, use your Sombra cluster's IP addresses.
CREATE OR REPLACE NETWORK POLICY TRANSCEND_ACCESS_POLICY
ALLOWED_IP_LIST = ('<ip_1>/32', '<ip_2>/32');
ALTER SECURITY INTEGRATION TRANSCEND_OAUTH SET NETWORK_POLICY = 'TRANSCEND_ACCESS_POLICY';Also ensure Transcend's backend IPs are allowlisted. See Configure a load balancer.
Connect in Transcend
- Fill out the connection form:
- Account Identifier: Find yours in Snowflake's account identifier docs
- Client ID: From the security integration
- Client Secret: From the security integration
- Warehouse: Your warehouse name (e.g., COMPUTE_WH)
- Run Query Async: Whether to run datapoint queries asynchronously during DSR processing. The default is Yes for new connections. See Recommendations for Large Queries.
- Click Connect with OAuth or Connect.
- (For OAuth) Log in using your non-admin user (from step 3 above)
Troubleshooting OAuth Errors:
- "Invalid consent request": Check user has proper role assignment and doesn't have blocked admin roles
- "Unexpected error": Verify IP addresses are allowlisted in your network policy
Next Steps
After connecting your Snowflake integration:
1. Enable Structured Discovery
Navigate to the Structured Discovery tab to automatically scan and classify personal data:
- Choose a Scan Type:
- Discovery Scan: Extract schemas for DSR/Preference Management
- Discovery + Classification Scan: Identify and categorize sensitive data
- Classification Scan: Re-classify data with stable schemas
- Enable Recurring Scans and set frequency
- Click Save to start scanning
Learn more about Structured Discovery →
2. Configure DSR Automation
Set up automatic fulfillment of DSRs:
- Go to Manage Datapoints to review discovered tables
- Assign data categories to columns
- Configure SQL queries for Access, Erasure, and other request types
- Test with a sample request
- Enable DSR Automation Live Mode
Learn more about DSR Automation →
3. Set Up Preference Management (Optional)
Transcend writes opt-out and opt-in changes to Snowflake with the SQL statement that you add to a datapoint. The integration has no built-in field mapping. You choose the table and column that each statement updates.
Learn more about Preference Management →
Recommendations for Large Queries
Enable Run Query Async if you expect large amounts of data or queries that take more than 1 minute during DSR execution. The default is Yes for new connections. Existing connections keep their saved value.
When Run Query Async is Yes, Transcend submits each datapoint query to Snowflake through the Snowflake SDK. Transcend then reads the result in pages of 5,000 rows.
Note: When Run Query Async is No, Transcend applies the
default_varchar_sizeanddefault_binary_sizeODBC connection parameters, as described in the Snowflake documentation. Transcend truncatesVARCHARandBINARYvalues larger than 262,144 bytes (256 KiB).
If a query times out with a 503 or connection error, set Run Query Async to Yes and confirm that Sombra is on version 7.490.0 or later.
Additional Resources
- Database Integration Guide - General database integration concepts
- Structured Discovery - Data discovery and classification
- DSR Automation Setup - Configure DSR Automation workflows
- Sombra Security - End-to-end encryption architecture
Need help? Contact your Transcend representative or email support@transcend.io