IT and Development

Snowflake

6min

With the Snowflake app in you can execute SQL commands, and return results in your Snowflake account.

To use the Snowflake modules, you must have a paid Snowflake account. For subscription information, refer to the Snowflake Pricing page.

Connect Snowflake and

To establish the connection, you must:

  1. For the Snowflake user/password type of connection: Obtain your account details in Snowflake.
  2. For the Snowflake key pair type of connection: Generate your private key in Snowflake.

Obtain your account details in Snowflake

To obtain your account name in your Snowflake account:

1

Log in to your Snowflake account. If you are logging in for the first time, use the email you have received from Snowflake.

2

At the bottom left, click on your generated account name next to the Snowflake icon.

3

Copy the Account name and Organization name shown and store it in a safe place.

You will use these values in the Account field in .

Generate your private key in Snowflake

To generate your private key in your Snowflake account, refer to Snowflake documentation.

Note: You need to generate both public and private keys to successfully connect Snowflake in Make. Your public key is associated with your Snowflake account, and your private key connects Snowflake to Make. You may generate either an encrypted or unencrypted private key. If you generate an encrypted key, store your password in a safe place.

Create the connection in

To create the connection:

1

Log in to your account, add a Snowflake module to your , and click Create a connection.

2

Optional: In the ​​Connection name​​ field, enter a name for the connection.

3

In the Connection type, select the type of the connection:

  • Snowflake username/password:
    1. Optional: In the Connection name field, enter a name for the connection.
    2. In the Account field, enter your copied Account name and Organization name that you copied above in ORGANIZATION-ACCOUNT format. For example, if your Organization name is ABC, and account name is DEF, enter ABC-DEF.
    3. In the Username and Password fields, enter your Snowflake account's login credentials.
    4. In the Database field, enter the name of the database for which you are going to execute commands. To see the names of the current databases, in the left sidebar, click Data > Databases.
  • Snowflake key pair:
    1. Optional: In the Connection name field, enter a name for the connection.
    2. In the Account field, enter your copied Account name and Organization name that you copied above in ORGANIZATION-ACCOUNT format. For example, if your Organization name is ABC, and account name is DEF, enter ABC-DEF.
    3. In the Username field, enter your Snowflake account's login username.
    4. In the Private key field, enter your unencrypted private key and proceed to the next step. If you use an encrypted private key, follow the steps below:
      1. Click Extract.
      2. In the Extract field, select Private key.
      3. Upload the private key that you generated above.
      4. For encrypted private keys: In the Password field, enter the password for your private key that you generated above.
    5. In the Database field, enter the name of the database for which you are going to execute commands. To see the names of the current databases, in the left sidebar, click Data > Databases.
4

Click Save.

5

If prompted, authenticate your account and confirm access.

You've successfully created the connection and can now use the Snowflake app in your . If you want to make changes to your connection in the future, follow the steps here.

Snowflake modules

After connecting to the Snowflake app, you can use the following types of modules to build your .

Snowflake resources