Prerequisites
- Your Snowflake user must be granted
securityadminandsysadminroles to complete the next step. To verify these roles, runSHOW GRANTS TO USER <your_username>;and review therolecolumn.
Create role, user, and warehouse in the data warehouse
- Key-pair authentication (recommended)
- Username & password authentication
- Review and make any changes to the following setup script. As written, the script should be run once for each table that needs to be transferred.
Setup script
Using an existing warehouseBy default, this script creates a new warehouse. If you’d prefer to use an existing warehouse, change the
warehouse_name variable from TRANSFER_WAREHOUSE to the name of the warehouse to be shared.- In the Snowflake interface, select the All Queries checkbox, and click “Run”. This will run every query in the script at once. If successful, you will see
Statement executed successfullyin the query results.


Configure the Snowflake access policy
If your Snowflake data warehouse is using Snowflake Access Policies, a new policy must be added to allow the transfer service static IP to write to the warehouse.
- Review current network policies to check for existing IP safelists.
Review network policies
- If there is no existing Snowflake Network Policies (the
SHOWquery returns no results), you can skip to Step 3. - If there is an existing Snowflake Network Policy, you must alter the existing policy or create a new one to safelist the data transfer service static IP address. Use the
CREATE NETWORK POLICYcommand to specify the IP addresses that can access your Snowflake warehouse. The IP addresses can be found here.
Create network policy