The Coefficient Snowflake connector comes with a visual query builder where you can select tables, columns, and filters, which we automatically translate into SQL query that is run on your Snowflake instance. In addition, you can supply custom SQL as well if you prefer to set up your import based on a Snowflake SQL query.

Connecting to Snowflake

When you begin a Snowflake import for the first time, you can either connect using your account credentials or via Snowflake OAuth.

Let’s discuss each of them! 💡

Connect using Account Credentials

When connecting to Snowflake using your account credentials, Coefficient will need the following information: Snowflake Account Name, Database Name, Username, Password, and/or Warehouse Name.

  1. Open the Coefficient Sidebar and click on the Menu.

MenuIconUpdated.png

  1. Select Connected Sources.

Screenshot 2023-11-24 at 8.36.09 PM.png

  1. Select “Add Connection” at the bottom and then select “Snowflake”.

Screenshot 2023-11-24 at 8.36.51 PM.png

  1. Enter your Snowflake Account Name and Database Name.

ℹ️ NOTE: when entering your Account Name, you may need to include the region ID and/or cloud platform (aws, azure, gcp). For details, see Account Locator in a Region (Snowflake Documentation).

Screen Shot 2022-05-27 at 10.22.01 AM.png

  1. Enter your credentials. If your Snowflake instance has network policies configured with IP restrictions, you will need to whitelist (ALL 3) Coefficient's server IP addresses. For details, see Network Policies (Snowflake Documentation).

Screen Shot 2022-05-27 at 10.23.23 AM.png

  1. If you would like to use a different Snowflake Warehouse or you don’t have a default warehouse assigned to your account, you can manually enter it by clicking the “Advanced Settings” link.

    ℹ️ NOTE: You can leave this section blank and Coefficient automatically connects to your default warehouse.

    Screenshot 2023-11-24 at 8.43.25 PM.png

  2. ℹ️ OPTIONAL - Once the connection is made, you will see an optional setting that will allow you to share your Snowflake connection with your team. Your password will never be visible to your team members.

    https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c67a5a30-2379-4b91-ab20-70ad2d8b3737/Screen_Shot_2021-07-14_at_11.54.55_AM.png

Connect using OAuth

ℹ️ NOTE: Your Snowflake Admin needs to configure the Snowflake OAuth for your domain first to be able to use this feature.

Configure Snowflake OAuth (For Snowflake Admins)

  1. Open the Coefficient Sidebar and click on the Menu.

    MenuIconUpdated.png

  2. Select Connected Sources.

    Screenshot 2023-11-24 at 8.36.09 PM.png

  3. Select “Add Connection” at the bottom and then select “Snowflake”.

    Screenshot 2023-11-24 at 8.36.51 PM.png

  4. Click the “connect using Snowflake OAuth” link.

    Screenshot 2023-11-24 at 10.14.15 PM.png

  5. Click “Configure”.

Screenshot 2023-11-24 at 10.15.49 PM.png

  1. You will then be redirected to the Snowflake OAuth Configuration page. Follow the instructions below and save the configuration.

    Screenshot 2023-11-24 at 10.22.59 PM.png

    Screenshot 2023-11-24 at 10.21.12 PM.png