Welcome to the Alteryx Knowledge Base

Setting up Alteryx One and Snowflake on AWS
user

Created/Edited - 3/26/2026 by Dominick Amalraj | Alteryx

How To

Set up Alteryx One and Snowflake on AWS and configure it for use.

Environment

Alteryx One and Snowflake on AWS 

For an overview of how Alteryx works with cloud data warehouses, see Cloud data warehouses and Alteryx.

 

Detailed setup guides for other cloud data warehouses are available below.
Prerequisites

Before beginning, confirm the following access and configuration requirements are in place:

 

Alteryx One workspace admin rights

  • Admin access is required to configure integrations in the Alteryx One admin console, create connections to external data warehouses, and manage workspace-level settings like Private Data Storage (S3).

Snowflake ACCOUNTADMIN or similar role

  • ACCOUNTADMIN (or a role with equivalent privileges) is needed to create users, roles, warehouses, databases, schemas, stages, and grant permissions. Without these privileges, you cannot provision the Snowflake environment for Alteryx integration.

AWS account with IAM admin privileges

  • IAM admin access is needed to create IAM policies, roles, and S3 bucket policies for Snowflake external stages. Without these permissions, Snowflake cannot access S3 for data loading and unloading.

Private Data Storage (S3) is already configured in Alteryx One — if not, complete this first via the Alteryx admin console

  • Alteryx One requires S3 as Private Data Storage to stage intermediate data when executing workflows. Without S3 configured, Alteryx cannot enable Live Query (push-down processing) with Snowflake, and all processing will occur in Alteryx's compute layer.

Network access between Alteryx One and Snowflake (check security groups and network policies if using PrivateLink)

  • If your Snowflake account uses AWS PrivateLink or network policies to restrict access, you must configure appropriate allowlists. Without proper network routing, connection tests will fail.

An S3 staging bucket for Snowflake external stages (recommended: same bucket as Alteryx Private Data Storage)

  • Snowflake external stages allow efficient bulk loading and unloading via S3. Using the same bucket as Alteryx Private Data Storage simplifies IAM policy management and reduces data transfer.

Note: Key-pair credentials for Snowflake service accounts should be rotated every 90 days (or per your organization's credential policy). Set a calendar reminder to regenerate keys before expiry.
 

Procedure

Admin Setup — Snowflake & AWS Provisioning

This section covers the initial Snowflake and AWS setup required before you can configure the Alteryx One integration. If your Snowflake account and S3 buckets are already provisioned, skip to the Integration Setup section.

 

Part A — AWS Account Setup

A1. Create an S3 Bucket for Snowflake Stages

  1. Log in to the AWS Management Console
  2. Navigate to 'S3' → 'Create bucket'
  3. Configure the bucket:
    • Bucket Name: e.g., 'alteryx-snowflake-staging-prod' (must be globally unique)
    • Region: Select the AWS region where your Snowflake account is deployed (e.g., us-east-1)
    • Block all public access: Enabled (recommended)
    • Versioning: Disabled (not required for staging)
    • Encryption: SSE-S3 or SSE-KMS (recommended)
  1. Click 'Create bucket'
  2. Configure lifecycle rules:
    • Navigate to the bucket → 'Management' tab → 'Lifecycle rules'
    • Create a rule to expire objects after 7 days (adjust based on retention needs)

Why? This bucket serves as the external stage location for Snowflake. Alteryx writes data to S3, and Snowflake loads it via COPY INTO commands. Lifecycle rules prevent staging files from accumulating and drividrng up costs.

 

A2. Create an IAM Policy for Snowflake S3 Access

  1. Navigate to 'IAM' → 'Policies' → 'Create policy'
  2. Select 'JSON' and paste the following policy (replace <bucket-name> with your bucket name):
{
   "Version":"2012-10-17",
   "Statement":[
      {
         "Effect":"Allow",
         "Action":[
            "s3:PutObject",
            "s3:GetObject",
            "s3:GetObjectVersion",
            "s3:DeleteObject",
            "s3:DeleteObjectVersion"
         ],
         "Resource":"arn:aws:s3:::<bucket-name>/*"
      },
      {
         "Effect":"Allow",
         "Action":"s3:ListBucket",
         "Resource":"arn:aws:s3:::<bucket-name>",
         "Condition":{
            "StringLike":{
               "s3:prefix":[
                  "*"
               ]
            }
         }
      },
      {
         "Effect":"Allow",
         "Action":"s3:GetBucketLocation",
         "Resource":"arn:aws:s3:::<bucket-name>"
      }
   ]
}

 

 

  1. Click 'Next' → Name: 'SnowflakeS3AccessPolicy' → 'Create policy'

Why? This policy grants Snowflake the minimum permissions needed to read and write data to the staging bucket. The policy is scoped to a single bucket, following least-privilege principles.

 

A3. Create an IAM Role for Snowflake (Storage Integration)

  1. Navigate to 'IAM' → 'Roles' → 'Create role'
  2. Select 'Another AWS account' as the trusted entity type
  3. Enter a placeholder account ID (you will update this after creating the Snowflake storage integration)
  4. Click 'Next'
  5. Attach the 'SnowflakeS3AccessPolicy' created in A2
  6. Click 'Next' → Role name: 'SnowflakeStorageIntegrationRole' → 'Create role'
  7. Note the Role ARN (e.g., arn:aws:iam::123456789012:role/SnowflakeStorageIntegrationRole)

Why? This IAM role allows Snowflake to assume the role and access the S3 bucket. You will configure the trust relationship after creating the Snowflake storage integration (which provides the external ID).

 

Part B — Snowflake Account Setup

B1. Create a Snowflake Account (if needed)

  1. Navigate to snowflake.com/signup or your organization's Snowflake account portal
  2. Select 'Amazon Web Services' as the cloud provider
  3. Select the AWS region (should match the S3 bucket region from A1)
  4. Select the edition (Standard, Enterprise, or Business Critical)
  5. Complete the account creation workflow

Why? Snowflake on AWS is deployed in your selected AWS region, but Snowflake manages the underlying infrastructure. You control access and billing, but Snowflake handles provisioning, scaling, and maintenance.

 

B2. Create a Snowflake Database and Schema

  1. Log in to Snowflake via the web UI (https://<account>.snowflakecomputing.com)
  2. Open a SQL worksheet
  3. Create a database for Alteryx:
CREATE DATABASE alteryx_prod COMMENT = 'Alteryx production database';

 

  1. Create schemas for different environments:
USE DATABASE alteryx_prod; CREATE SCHEMA staging COMMENT = 'Staging tables'; CREATE SCHEMA gold COMMENT = 'Production tables'; CREATE SCHEMA ml_features COMMENT = 'ML feature tables';

Why? Separating dev/staging and prod schemas prevents accidental overwrites and enables different retention policies. Using descriptive names improves workflow readability and auditability.

 

B3. Create a Virtual Warehouse for Alteryx

  1. In the SQL worksheet, create a dedicated warehouse:
CREATE WAREHOUSE alteryx_wh   WITH WAREHOUSE_SIZE = 'SMALL'   AUTO_SUSPEND = 300   AUTO_RESUME = TRUE   COMMENT = 'Warehouse for Alteryx workflows';

 

  1. For production workloads, consider enabling multi-cluster:
ALTER WAREHOUSE alteryx_wh SET   MIN_CLUSTER_COUNT = 1   MAX_CLUSTER_COUNT = 3   SCALING_POLICY = 'STANDARD';

 

Why? Virtual warehouses are compute clusters that execute queries. Auto-suspend (after 5 minutes of inactivity) minimizes costs. Auto-resume ensures the warehouse is available when workflows run. Multi-cluster scaling handles concurrent workloads.

 

B4. Create a Storage Integration with AWS

  1. In the SQL worksheet, create a storage integration:
CREATE STORAGE INTEGRATION alteryx_s3_integration   TYPE = EXTERNAL_STAGE   STORAGE_PROVIDER = S3   ENABLED = TRUE   STORAGE_AWS_ROLE_ARN = 'arn:aws:iam::123456789012:role/SnowflakeStorageIntegrationRole'   STORAGE_ALLOWED_LOCATIONS = ('s3://alteryx-snowflake-staging-prod/');

 

  1. Retrieve the storage integration details:
DESC STORAGE INTEGRATION alteryx_s3_integration;

 

  1. Note the STORAGE_AWS_IAM_USER_ARN and STORAGE_AWS_EXTERNAL_ID values

Why? Storage integrations allow Snowflake to securely access S3 without embedding credentials. The EXTERNAL_ID prevents the confused deputy problem — it ensures only your Snowflake account can assume the IAM role.

 

B5. Update the AWS IAM Role Trust Relationship

  1. Return to the AWS Console → IAM → Roles → 'SnowflakeStorageIntegrationRole'
  2. Click 'Trust relationships' → 'Edit trust policy'
  3. Update the policy with the values from B4:
{
   "Version":"2012-10-17",
   "Statement":[
      {
         "Effect":"Allow",
         "Principal":{
            "AWS":"<STORAGE_AWS_IAM_USER_ARN>"
         },
         "Action":"sts:AssumeRole",
         "Condition":{
            "StringEquals":{
               "sts:ExternalId":"<STORAGE_AWS_EXTERNAL_ID>"
            }
         }
      }
   ]
}

 

  1. Click 'Update policy'

 

Why? This trust relationship allows Snowflake (and only Snowflake, via the external ID) to assume the IAM role and access the S3 bucket. Without this, the storage integration will fail to authenticate.

 

B6. Create a Snowflake External Stage

  1. In the SQL worksheet, create an external stage:
CREATE STAGE alteryx_staging   STORAGE_INTEGRATION = alteryx_s3_integration   URL = 's3://alteryx-snowflake-staging-prod/'   FILE_FORMAT = (TYPE = CSV FIELD_OPTIONALLY_ENCLOSED_BY = '"' SKIP_HEADER = 1);

 

  1. Test the stage by listing files:
LIST @alteryx_staging;

 

Why? External stages provide a named reference to S3 locations. Alteryx workflows can write to S3, then execute COPY INTO from the stage. This is 10-100x faster than row-by-row inserts for large datasets.

 

B7. Create a Snowflake Service Account for Alteryx

  1. Create a service user:
CREATE USER alteryx_svc   PASSWORD = '<strong-password>'   DEFAULT_WAREHOUSE = alteryx_wh   DEFAULT_NAMESPACE = alteryx_prod.staging   COMMENT = 'Service account for Alteryx integration';

 

  1. Create a role for Alteryx:
CREATE ROLE alteryx_role COMMENT = 'Role for Alteryx workflows'; GRANT USAGE ON WAREHOUSE alteryx_wh TO ROLE alteryx_role; GRANT USAGE ON DATABASE alteryx_prod TO ROLE alteryx_role; GRANT USAGE ON SCHEMA alteryx_prod.staging TO ROLE alteryx_role; GRANT USAGE ON SCHEMA alteryx_prod.gold TO ROLE alteryx_role; GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA alteryx_prod.staging TO ROLE alteryx_role; GRANT SELECT ON ALL TABLES IN SCHEMA alteryx_prod.gold TO ROLE alteryx_role; GRANT USAGE ON STAGE alteryx_staging TO ROLE alteryx_role; GRANT ROLE alteryx_role TO USER alteryx_svc;

 

Why? Service accounts are preferred over personal user accounts for integrations because they are not tied to any individual and can be audited separately. RBAC (role-based access control) ensures the account has only the permissions it needs.

 

B8. Configure Key-Pair Authentication (Recommended)

  1. On your local machine, generate an RSA key pair:
openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out snowflake_key.p8 -nocrypt openssl rsa -in snowflake_key.p8 -pubout -out snowflake_key.pub

 

  1. Extract the public key (remove header/footer and newlines):
cat snowflake_key.pub | grep -v "BEGIN PUBLIC" | grep -v "END PUBLIC" | tr -d '\n'

 

  1. Assign the public key to the Snowflake user:
cat snowflake_key.pub | grep -v "BEGIN PUBLIC" | grep -v "END PUBLIC" | tr -d '\n'

 

  1. Store the private key (snowflake_key.p8) in AWS Secrets Manager

 

Why? Key-pair authentication is more secure than passwords because private keys are never transmitted over the network. Snowflake verifies the signature using the public key. This eliminates password rotation requirements and reduces credential exposure.

 

Integration Setup — Connecting Alteryx One to Snowflake

Step 1 — Configure S3 as Private Data Storage

1a. Configure S3 in Alteryx One

  1. Log in to your Alteryx One workspace
  2. Navigate to Workspace Admin → 'Private Data Handling' → 'Storage'
  3. Select 'Amazon S3'
  4. Choose authentication method (cross-account role or access keys)
  5. Enter the S3 bucket name (e.g., alteryx-snowflake-staging-prod)
  6. (Optional) Enter a base path for data hierarchy
  7. Click 'Save' to provision the workspace

Why? Private Data Storage enables Alteryx Live Query — workflows execute SQL directly in Snowflake, with intermediate results staged in S3. Without S3 configured, all data processing occurs in Alteryx's compute layer (slow and expensive).

 

Step 2 — Create Snowflake Connection in Alteryx One

2a. Navigate to Connections

  1. In Alteryx One, go to the 'Connections' page
  2. Click 'Create Connection'
  3. Search for 'Snowflake' and select it

 

2b. Configure the Connection (Key-Pair Authentication)

  1. Enter connection details:

 

Field

Value / Notes

Connection Name

Descriptive name (e.g., 'Snowflake Production - US East')

Account Identifier

Your Snowflake account identifier (e.g., xy12345.us-east-1)

Username

alteryx_svc

Credential Type

Select 'Key Pair Authentication'

Private Key

Paste the private key from AWS Secrets Manager (include -----BEGIN PRIVATE KEY----- header/footer)

Warehouse

alteryx_wh

Database

alteryx_prod

Schema

staging (or leave blank to select later)

 

  1. Click 'Test Connection' — a success message should appear
  2. If successful, click 'Create'

Why? The 'Test Connection' button validates that the private key matches the public key assigned to the Snowflake user, and that the user has access to the warehouse and database. This pre-flight check catches configuration errors before workflows fail.

 

2c. Alternative: Username/Password Authentication

If key-pair authentication is not available:

  1. Select 'Username and Password' as credential type
  2. Enter the username and password for alteryx_svc
  3. Test and create the connection

Warning: Passwords must be rotated regularly and are less secure than key-pair authentication. If using passwords, store them in AWS Secrets Manager and set a 90-day rotation policy.

 

Step 3 — Enable Live Query (Push-Down Processing)

  1. Ensure S3 Private Data Storage is configured (Step 1)
  2. Ensure the Snowflake connection is created (Step 2)
  3. In Alteryx One, navigate to Workspace Admin → 'Live Query'
  4. Enable Live Query for Snowflake
  5. Select the Snowflake connection as the default execution engine

Why? Live Query sends SQL to Snowflake for in-database execution. Alteryx generates optimized SQL, Snowflake executes it, and only the final results are returned. This is 10-100x faster than pulling raw data into Alteryx for row-by-row processing.

 

Note: Not all Alteryx tools support Live Query push-down. Complex transformations may fall back to local processing. Check the Alteryx documentation for tool compatibility.

 

Step 4 — Verify the Integration

  1. In Alteryx One, create a new workflow
  2. Add an 'Input Data' tool → select your Snowflake connection
  3. Browse databases/schemas and select a table
  4. Add a 'Browse' tool to preview results
  5. Run the workflow — confirm data appears without errors
  6. Check the job log for Live Query confirmation (should show 'Executing in Snowflake')

Why? Running a verification workflow tests the entire integration: authentication, network routing, permission grants, and data retrieval. This catches misconfigurations before they impact production.

 

Tip: Create a scheduled test workflow that runs a lightweight query weekly. This acts as an early-warning system for key expiry, permission changes, or warehouse availability issues.

Additional Information

Troubleshooting

Common issues and resolutions:

 

Issue

Resolution

'Private Data Storage not configured' error

Set up S3 as private data storage (Step 1) before creating Snowflake connections. Live Query requires S3 staging.

Authentication fails during connection test

Verify the private key format includes header/footer (-----BEGIN PRIVATE KEY-----). Check that the public key was assigned correctly via ALTER USER. Confirm the username is correct.

'JWT token is invalid' error

This typically means the private key does not match the public key. Regenerate the key pair and reassign the public key in Snowflake.

Connection succeeds but workflows fail to run

Check that the service account has USAGE on warehouse, database, and schema. Verify USAGE on the external stage. Run SHOW GRANTS TO ROLE alteryx_role to verify permissions.

'Warehouse <name> does not exist' error

Verify the warehouse name in the connection matches the warehouse created in Snowflake (case-sensitive). Check that the warehouse is not suspended.

Storage integration fails

Verify the IAM role trust relationship includes the correct STORAGE_AWS_IAM_USER_ARN and EXTERNAL_ID from DESC STORAGE INTEGRATION. Confirm the IAM policy allows s3:GetObject and s3:PutObject.

Queries are slow or expensive

Ensure Live Query is enabled (check job logs for 'Executing in Snowflake'). Review warehouse size — scale up if queries are queuing. Enable result caching in Snowflake.

'Access denied' errors when writing to tables

Grant INSERT, UPDATE, or CREATE TABLE permissions to the alteryx_role. Run GRANT INSERT ON ALL TABLES IN SCHEMA <schema> TO ROLE alteryx_role.

 

Best Practices

Performance Optimization

  • Enable Live Query (push-down processing) for all compatible workflows
  • Use external stages (S3) + COPY INTO for bulk loading (10-100x faster than row-by-row inserts)
  • Filter early — push WHERE predicates into SQL rather than bringing large tables into Alteryx
  • Select only required columns to minimize data transfer
  • Enable result caching in Snowflake to reuse query results (24-hour cache)
  • Use clustering keys on large tables (>1TB) for frequently queried columns

 

Cost Management

  • Enable auto-suspend (5 minutes) and auto-resume on virtual warehouses
  • Use small warehouses for design-time work; scale up for production
  • Enable multi-cluster warehouses for concurrent workloads (prevents queueing)
  • Set resource monitors to alert or suspend warehouses at cost thresholds
  • Use transient tables for staging (no Fail-Safe storage costs)
  • Avoid SELECT * — query only required columns to minimize credits

 

Security & Governance

  • Use key-pair authentication instead of passwords
  • Rotate private keys every 90 days (or per your organization's policy)
  • Store private keys in AWS Secrets Manager — never in plain text or source control
  • Use separate service accounts for dev/staging and production
  • Enable network policies in Snowflake to restrict access by IP range
  • Use AWS PrivateLink for private connectivity (no public internet)
  • Enable Snowflake audit logging (QUERY_HISTORY, ACCESS_HISTORY) to track all queries
  • Use masking policies for PII columns and row access policies for fine-grained access control

 

Related links

 

Cloud data warehouse setup guides

 

Setting up Alteryx One & Google BigQuery

Setting up Alteryx One & Databricks on AWS

Setting up Alteryx One & Azure Databricks

Connect Alteryx One to Google BigQuery using Google Cloud Storage (GCS) for private data storage, enabling push-down processing and governed data access.

Connect Alteryx One to Databricks on AWS using a Personal Access Token (PAT) and Amazon S3 for private data storage.

Connect Alteryx One to Azure Databricks using a Personal Access Token (PAT) and configured private data storage.

 

Was this article helpful?