Welcome to the Alteryx Knowledge Base

Setting up Alteryx One and Databricks on AWS
user

Created/Edited - 3/28/2026 by Neema Chinian | Alteryx

How To

Develop the end-to-end process for connecting Alteryx One to a Databricks workspace running on Amazon Web Services (AWS). Following these steps will enable Alteryx One to authenticate against Databricks using a Personal Access Token (PAT) and route workflow data through AWS S3 as private data storage.

 

Environment

Alteryx One to a Databricks workspace running on Amazon Web Services (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).

AWS account with IAM admin privileges

  • IAM admin access is needed to create policies, roles, cross-account trust relationships, and S3 bucket policies. Without these permissions, you cannot configure the Databricks-to-AWS integration or set up S3 as private data storage.

Databricks workspace admin rights

  • Databricks admin rights are needed to generate Personal Access Tokens (PATs), configure workspace settings, manage cluster/SQL warehouse permissions, and create instance profiles for AWS IAM role integration.

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 against Databricks. Without S3 configured, Alteryx cannot process data at scale or maintain compliance with data residency requirements.

Network access between Alteryx One and the Databricks workspace (check security groups and NACLs if using VPC peering or PrivateLink)

  • If your Databricks workspace uses PrivateLink or is behind VPC security groups, you must configure appropriate ingress rules. Without proper network routing, authentication and query execution will fail.

A supported Databricks runtime version (refer to Alteryx compatibility matrix)

  • Not all Databricks runtime versions are compatible with Alteryx's in-database processing. Using an unsupported runtime may result in query failures, performance degradation, or missing features like push-down optimization.

Note: PAT tokens expire based on your Databricks workspace token lifetime policy. Confirm the expiry period before generating a token for production use.
 

Procedure

Admin Setup — Databricks on AWS Provisioning

This section covers the initial AWS and Databricks setup required before you can configure the Alteryx One integration. If your Databricks workspace on AWS is already provisioned and configured, skip to the Integration Setup section.

 

Part A — AWS Account Setup

A1. Create or Select an AWS Account

  1. Log in to the AWS Management Console
  2. Either use an existing account or create a new AWS account
  3. Confirm billing is configured (Databricks requires an active billing account)

Why? A dedicated AWS account isolates Databricks resources, simplifies billing tracking, and enables clear IAM boundary enforcement. Multi-tenant accounts can lead to permission conflicts and cost allocation challenges.

 

A2. Create an S3 Bucket for DBFS Root Storage

  1. Navigate to 'S3' in the AWS Console
  2. Click 'Create bucket'
  3. Configure the bucket:
    • Bucket Name: e.g., 'databricks-root-storage-prod' (must be globally unique)
    • Region: Select the region where you plan to deploy Databricks (e.g., us-east-1, us-west-2)
    • Block all public access: Enabled (recommended)
    • Versioning: Disabled (not required for DBFS)
    • Encryption: SSE-S3 or SSE-KMS (recommended)
  1. Click 'Create bucket'

Why? This bucket serves as the DBFS (Databricks File System) root storage location. All cluster logs, notebook results, and temporary files are stored here. Using a dedicated bucket simplifies lifecycle management and IAM policy scoping.

 

A3. Create an S3 Bucket for Alteryx Private Data Storage

  1. Navigate to 'S3' in the AWS Console
  2. Click 'Create bucket'
  3. Configure the bucket:
    • Bucket Name: e.g., 'alteryx-staging-prod'
    • Region: Same region as the DBFS bucket
    • Block all public access: Enabled
    • Versioning: Disabled
    • Encryption: SSE-S3 or SSE-KMS
  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? Alteryx uses this bucket to stage intermediate data when executing workflows. Lifecycle rules prevent temporary files from accumulating and driving up storage costs.

 

A4. Create IAM Policy for Databricks

  1. Navigate to 'IAM' → 'Policies' → 'Create policy'
  2. Select 'JSON' and paste the following policy (replace <dbfs-root-bucket> with your bucket name):

 

{
   "Version":"2012-10-17",
   "Statement":[
      {
         "Effect":"Allow",
         "Action":[
            "s3:ListBucket",
            "s3:GetBucketLocation"
         ],
         "Resource":"arn:aws:s3:::<dbfs-root-bucket>"
      },
      {
         "Effect":"Allow",
         "Action":[
            "s3:PutObject",
            "s3:GetObject",
            "s3:DeleteObject"
         ],
         "Resource":"arn:aws:s3:::<dbfs-root-bucket>/*"
      },
      {
         "Effect":"Allow",
         "Action":[
            "ec2:DescribeInstances",
            "ec2:DescribeVolumes",
            "ec2:DescribeVolumeStatus"
         ],
         "Resource":"*"
      }
   ]
}

 

 

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

Why? This policy grants Databricks the minimum permissions needed to manage DBFS storage and provision EC2 instances. The S3 permissions are scoped to the DBFS root bucket only, following least-privilege principles.

 

A5. Create IAM Role for Databricks (Cross-Account Trust)

  1. Navigate to 'IAM' → 'Roles' → 'Create role'
  2. Select 'Another AWS account' as the trusted entity type
  3. Enter the Databricks AWS account ID: 414351767826 (standard for all Databricks on AWS deployments)
  4. Check 'Require external ID' and enter your Databricks workspace external ID (obtained from Databricks account console)
  5. Click 'Next'
  6. Attach the policy created in A4 ('DatabricksS3AccessPolicy')
  7. Click 'Next' → Role name: 'DatabricksRole' → 'Create role'
  8. Note the Role ARN (e.g., arn:aws:iam::123456789012:role/DatabricksRole) — you will need this later

Why? The cross-account trust relationship allows Databricks (running in their AWS account) to assume a role in your AWS account. This enables Databricks to create clusters and access your S3 buckets without requiring long-lived credentials.

 

A6. Create IAM Policy for Alteryx S3 Access

  1. Navigate to 'IAM' → 'Policies' → 'Create policy'
  2. Select 'JSON' and paste the following policy (replace <alteryx-staging-bucket> with your bucket name):

 

{
   "Version":"2012-10-17",
   "Statement":[
      {
         "Effect":"Allow",
         "Action":[
            "s3:ListBucket",
            "s3:GetBucketLocation"
         ],
         "Resource":"arn:aws:s3:::<dbfs-root-bucket>"
      },
      {
         "Effect":"Allow",
         "Action":[
            "s3:PutObject",
            "s3:GetObject",
            "s3:DeleteObject"
         ],
         "Resource":"arn:aws:s3:::<dbfs-root-bucket>/*"
      },
      {
         "Effect":"Allow",
         "Action":[
            "ec2:DescribeInstances",
            "ec2:DescribeVolumes",
            "ec2:DescribeVolumeStatus"
         ],
         "Resource":"*"
      }
   ]
}

 

 

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

Why? This policy allows Alteryx to read/write data to the staging bucket. Scoping the policy to a single bucket reduces risk if credentials are compromised.

 

A7. Create IAM Role or User for Alteryx

You can authenticate Alteryx using either a cross-account role or IAM access keys.

 

Option A: Cross-Account Role (Recommended)

  1. Navigate to 'IAM' → 'Roles' → 'Create role'
  2. Select 'Another AWS account'
  3. Enter the Alteryx AWS account ID (obtain from Alteryx support)
  4. Check 'Require external ID' and enter your Alteryx workspace ID
  5. Attach 'AlteryxS3AccessPolicy'
  6. Role name: 'AlteryxCrossAccountRole' → 'Create role'
  7. Note the Role ARN

Why? Cross-account roles are more secure than access keys because they use temporary credentials (no long-lived secrets to rotate). Alteryx assumes the role on-demand to access S3.

 

Option B: IAM User with Access Keys (Alternative)

  1. Navigate to 'IAM' → 'Users' → 'Create user'
  2. User name: 'alteryx-s3-user' → 'Next'
  3. Attach 'AlteryxS3AccessPolicy' directly → 'Next' → 'Create user'
  4. Select the user → 'Security credentials' tab → 'Create access key'
  5. Select 'Application running outside AWS' → 'Create access key'
  6. Download the CSV containing Access Key ID and Secret Access Key — store in AWS Secrets Manager

Why? Access keys are simpler to configure but require manual rotation every 90 days. If you choose this option, set a calendar reminder to regenerate keys before expiry.

 

Part B — Databricks Workspace Configuration

B1. Create a Databricks Account on AWS

  1. Navigate to Databricks
  2. Select 'Amazon Web Services' as the cloud provider
  3. Complete the account creation workflow (email verification, organization details)
  4. Link your AWS account during the sign-up process

Why? Databricks on AWS uses a customer-managed VPC model — you control the AWS infrastructure while Databricks provides the control plane. This differs from Azure Databricks, which uses a managed resource group pattern.

 

B2. Create a Databricks Workspace

  1. In the Databricks Account Console, navigate to 'Workspaces'
  2. Click 'Create Workspace'
  3. Configure the workspace:
    • Workspace Name: e.g., 'alteryx-prod-workspace'
    • AWS Region: Select the region where your S3 buckets are located
    • Pricing Tier: Select Premium (required for Unity Catalog, audit logging, and SCIM)
  1. Under 'Storage Configuration':
    • Enter the S3 bucket name for DBFS root (created in A2)
    • Enter the IAM role ARN (created in A5)
  1. Click 'Create Workspace' — provisioning takes 5–10 minutes

Why? The Premium tier is recommended for production use because it includes Unity Catalog (centralized governance), audit logs (compliance), and SCIM provisioning (user management). Standard tier workspaces lack these enterprise features.

 

B3. Configure Instance Profile for Databricks Clusters

  1. In the AWS Console, navigate to 'IAM' → 'Roles' → 'Create role'
  2. Select 'AWS service' → 'EC2' as the trusted entity
  3. Attach the 'DatabricksS3AccessPolicy' created in A4
  4. Role name: 'DatabricksInstanceProfile' → 'Create role'
  5. Note the Role ARN
  6. In the Databricks workspace, navigate to 'Admin Settings' → 'Instance Profiles'
  7. Click 'Add Instance Profile'
  8. Paste the Role ARN from the previous step → 'Add'

Why? Instance profiles allow Databricks clusters to access S3 directly without embedding credentials in notebooks or cluster configurations. This is the recommended authentication method for production workloads.

 

B4. Enable Unity Catalog (Recommended)

  1. In the Databricks workspace, navigate to 'Data' → 'Unity Catalog'
  2. If Unity Catalog is not enabled, click 'Set up Unity Catalog'
  3. Follow the setup wizard:
    • Create a metastore (one per region)
    • Link your S3 bucket as the root storage location (create a new bucket if needed)
    • Grant the instance profile from B3 access to the metastore bucket
    • Assign the metastore to your workspace
  1. Create a catalog for the Alteryx integration (e.g., 'alteryx_analytics')
  2. Create schemas within the catalog (e.g., 'staging', 'gold', 'ml_features')

Why? Unity Catalog provides centralized governance, fine-grained access control, and lineage tracking across all data assets. Without Unity Catalog, you are limited to legacy Hive metastore tables, which lack enterprise governance features and do not scale well across multiple workspaces.

 

B5. Create a Service Principal for Alteryx

  1. In the Databricks workspace, navigate to 'Settings' → 'Identity and access' → 'Service principals'
  2. Click 'Add service principal'
  3. Enter a name (e.g., 'alteryx-integration-sp') and click 'Add'
  4. Note the Application ID

Why? Service principals (service accounts) are preferred over personal user accounts for integrations because they are not tied to any individual, do not expire when users leave the organization, and can be audited separately.

 

B6. Grant Permissions to the Service Principal

  1. In Unity Catalog, navigate to 'Catalogs' → select the catalog created in B4
  2. Click 'Permissions' → 'Grant'
  3. Select the service principal created in B5 and grant:
    • USAGE on the catalog
    • USAGE on all schemas the service will access
    • SELECT on tables (or CREATE TABLE if workflows will write data)
  1. Navigate to 'Compute' → select the cluster or SQL warehouse Alteryx will use
  2. Click 'Permissions' → grant 'CAN USE' to the service principal

Why? Databricks uses a deny-by-default permission model. The service principal must be explicitly granted access to catalogs, schemas, tables, and compute resources. Without these grants, Alteryx workflows will fail with 'Permission denied' errors even if authentication succeeds.

 

B7. Configure a SQL Warehouse (Recommended)

  1. Navigate to 'SQL Warehouses' → 'Create SQL Warehouse'
  2. Select 'Serverless' for instant compute with no cold-start delays
  3. Choose a cluster size (2X-Small to 4X-Large based on expected workload)
  4. Enable auto-stop after 10 minutes of inactivity to minimize costs
  5. Click 'Create'

Why? SQL Warehouses are optimized for BI and analytic queries, provide instant compute (serverless), and scale automatically. All-purpose clusters are more flexible but have cold-start delays (3–5 minutes). For Alteryx workloads, serverless SQL Warehouses reduce latency and operational overhead.

 

B8. Generate a Personal Access Token (PAT)

  1. In the Databricks workspace, click your username (top-right) → 'Settings'
  2. Navigate to 'Developer' → 'Access Tokens'
  3. Click 'Manage' → 'Generate new token'
  4. Enter a comment (e.g., 'Alteryx One Integration - Production') and set a lifetime:
    • Recommended: 90 days for production (align with your token rotation policy)
    • For testing: 7–30 days
  1. Click 'Generate' and copy the token immediately — it will not be shown again
  2. Store the token in AWS Secrets Manager

Why? PATs are the primary authentication method for programmatic access to Databricks. They act as long-lived credentials and should be treated like passwords. Never commit them to source control or embed them in workflows. Use AWS Secrets Manager to enforce rotation and auditing.

 

Note: If your organization has a token lifetime policy (e.g., all tokens expire after 90 days), set a calendar reminder to regenerate the token before expiry. Expired tokens will cause all Alteryx workflows to fail.

 

Integration Setup — Connecting Alteryx One to Databricks

Step 1 — Configure S3 as Private Data Storage

1a. Choose Authentication Method

Alteryx supports two authentication methods for S3 Private Data Storage:

  • Cross-Account IAM Role (recommended) — uses temporary credentials
  • IAM Access Keys — uses long-lived credentials (requires rotation)

Why? Cross-account roles are more secure because they use temporary credentials and do not require manual rotation. Access keys are simpler to set up but require scheduled rotation every 90 days.

 

1b. 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:
    • If using Cross-Account Role: Enter Role ARN and External ID
    • If using Access Keys: Enter Access Key ID and Secret Access Key
  1. Under 'S3 Bucket', enter the staging bucket name (e.g., alteryx-staging-prod)
  2. (Optional) Enter a base path for data hierarchy
  3. Click 'Save' to provision the workspace

Why? Private Data Storage enables Databricks push-down processing — Alteryx stages data in S3, sends queries to Databricks for in-database execution, then retrieves only the results. Without this, all data must be pulled into Alteryx's compute layer (slow, expensive, non-scalable).

 

Step 2 — Create Databricks Connection in Alteryx One

2a. Retrieve Databricks Connection Details

The Databricks workspace URL follows this format:

https://<workspace-id>.cloud.databricks.com

 

  1. Navigate to the Databricks Account Console
  2. Go to 'Workspaces' and locate your workspace
  3. Copy the workspace URL

Why? The workspace URL is the base endpoint for all Databricks API calls. Alteryx uses this URL to authenticate, list clusters, submit queries, and retrieve results.

 

2b. Configure Databricks in Alteryx One

  1. In Alteryx One, navigate to Workspace Admin → 'Data Warehouses'
  2. Click 'Add' or 'Configure New Databricks Workspace'
  3. Enter the following values:

 

Field

Value / Notes

Service URL

Paste the Databricks workspace URL (https://<workspace-id>.cloud.databricks.com)

Personal Access Token (PAT)

Paste the PAT token from AWS Secrets Manager

Workspace Name

Descriptive name (e.g., 'Prod Databricks AWS - US East')

 

  1. Click 'Authenticate' — a success message should appear within seconds
  2. If authentication fails, refer to the Troubleshooting section

Why? The 'Authenticate' button tests connectivity by making a test API call to Databricks (e.g., GET /api/2.0/clusters/list). If this fails, it indicates a network, token, or URL issue.

 

2c. Complete Workspace Configuration

  1. After successful authentication, the configuration form will expand
  2. Select the default SQL warehouse created in B7
  3. Configure catalog and schema defaults if using Unity Catalog
  4. Configure design-time and run-time execution settings:
    • Design Time: SQL Warehouse (for interactive querying)
    • Run Time: SQL Warehouse or All-Purpose Cluster (depending on workload)
  1. Save the configuration

Why? Specifying a default SQL warehouse simplifies workflow authoring. For Unity Catalog, setting default catalog and schema values ensures consistent data governance and reduces accidental cross-catalog queries.

 

Step 3 — Verify the Integration

  1. In Alteryx One, create a new workflow
  2. Add an 'Input Data' tool → select your Databricks connection
  3. Run a test query (e.g., SELECT * FROM <catalog>.<schema>.<table> LIMIT 10)
  4. Confirm rows are returned and no errors appear in the job log
  5. Review the job log for push-down confirmation

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

 

Tip: Schedule a recurring test workflow that runs a lightweight query weekly. This acts as an early-warning system for token expiry or cluster misconfiguration.

 

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 Databricks connections. Databricks push-down requires S3 staging.

Authentication fails at 'Authenticate' step

Verify the PAT token is copied correctly. Confirm the workspace URL format. Check that the PAT has not expired.

Connection succeeds but workflows fail

Check that the service principal has CAN USE on the SQL warehouse and SELECT on target tables. Verify instance profile has S3 access.

Cross-account role access denied

Verify the external ID matches your Alteryx workspace ID. Check that the trust relationship includes the correct Alteryx AWS account ID.

Cluster or SQL warehouse unavailable

Check Databricks console to confirm compute is running. For serverless SQL warehouses, verify auto-start is enabled.

Token expired — workflows stop running

Regenerate a new PAT in Databricks and update the token in Alteryx admin console. Set a calendar reminder before expiry.

Unity Catalog permission errors

Ensure the service principal has USAGE on catalog and schema, and SELECT on tables. Run SHOW GRANTS to verify.

S3 staging bucket permission errors

Verify the IAM role or access keys have s3:PutObject, s3:GetObject, s3:DeleteObject on the staging bucket.

 

Security Considerations

  • Rotate PAT tokens every 90 days (or per your organization's policy)
  • Use cross-account IAM roles instead of access keys when possible
  • Store PAT tokens and access keys in AWS Secrets Manager — never in plain text or source control
  • Use instance profiles for cluster authentication instead of embedding credentials
  • Enable S3 bucket encryption (SSE-S3 or SSE-KMS)
  • Configure S3 lifecycle policies to auto-delete staging files after 7 days
  • Enable Unity Catalog audit logging to track all data access
  • Use VPC peering or PrivateLink for private network connectivity
  • Apply least-privilege IAM policies at the bucket and dataset level
 

Related Links

 

Cloud data warehouse setup guides

 

Setting up Alteryx One & Google BigQuery

Setting up Alteryx One & Snowflake 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 Snowflake on AWS using Amazon S3 for private data storage, enabling push-down processing and governed data access.

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

 

Was this article helpful?