Connect Fivetran to Snowflake
In this tutorial we will show how to setup Snowflake as a destination for snowflake.
Video
Video is still in developemnt.
Requirement
- You will need a Snowflake account which can be setup as trial if we don't have one today.
- You will need to have a fivetran account or sign up for a free trial.
Snowflake
Lets start in Snowflake by opening a SQL worksheet (1).
Setup
Let's setup up the necessary resources to have fivetran function correctly. In this example we are going to create:
- Database: Raw
- User: service_fivetran
- Role: service_fivetran
- Warehouse (XS): service_fivetran
And finish it off by providring the necessary permission for fivetran. All we have to do is provide a password to the script. To run all the code, you will want to select and hit run in the top right.
Account Locator
Before we move to setting up Fivetran we will want to copy our "account identifier url". This is a unique url to your account that will be used in the setup process of fivetran. The url is unique (1) to a few different type of Snowflake accounts but the "copy account url" feature should work for this tutorial.
-
URL type URL format Regional https://locator.region.snowflakecomputing.com Organization https://organization-name.snowflakecomputing.com Connection https://organization-connection.snowflakecomputing.com Regional Privatelink https://locator.region.privatelink.snowflakecomputing.com Organization Privatelink https://organization-name.privatelink.snowflakecomputing.com Connection Privatelink https://organization-connection.privatelink.snowflakecomputing.com
Fivetran
Next we will setup Fivetran to have Snowflake as a destination.
Setup
Lets start at the homepage once we have our free trial up and running. The first thing we'll want to click is destination on the left side tab.
In the top right click "Add Destination".
Next we'll want to select Snowflake as the destination of choice.
We will want to fill out all the sections marked with arrows using the information we got from the setup and our account locator we copied. We will not need the https://
part to be added into fivetran.
Testing
Finally we will click "Save and Test" and fivetran will test our connection.
We can then see our destination and start adding sources to it.
Troubleshooting
If you get an error with regard to your host, it is likely you incorrectly have your account locator. Here is some documentation regarding the account locator.