Snowflake
Connecting DinMo to Snowflake: Step-by-Step Guide
Last updated
Connecting DinMo to Snowflake: Step-by-Step Guide
Last updated
Optional: Create a dedicated DinMo Warehouse on Snowflake to better manage the resources allocated. To do that, run the following script on your Snowflake environment.
On Snowflake, create a DinMo user and grant it with the required permissions:
This is done by running the script below. Edit the variables < >
at the beginning of the script with your Snowflake connection information. If you created a dedicated warehouse in step 1, put its name DINMO_WAREHOUSE
on the corresponding part of the script. Remember the user name, and password. Then, run the script on your Snowflake environment.
Do not hesitate to adapt the script in order to restrict the permissions of the DinMo user to specific tables and schemas, instead of giving it full access to the entire database.
On DinMo, go to the workspace settings, then to the Source tab, and click "Add New Source".
Select Snowflake from the list of available sources.
Provide the required information:
The account identifier can be found in your Snowflake URL. For example, if your account URL is https://xxx.europe-west2.gcp.snowflakecomputing.com/
, you should enter "xxx.europe-west2.gcp" as the account identifier. Remember to exclude "https://" and ".snowflakecomputing.com/" from the URL.
Enter the name of the Snowflake database containing the business data you wish to sync to external platforms using DinMo. If you have multiple databases, you can create multiple sources for each one of them.
Enter the name of the Snowflake database DinMo will use to store technical data. If you did not modify the script in step 2, it should be DINMO_DB
.
Fill in the appropriate Warehouse: COMPUTE_WH
is the default Warehouse on Snowflake, but you could also decide to use a specific one, for instance, if you went through step 1, DINMO_WAREHOUSE
.
Enter the role you entered in the script above. If you did not change the name of the role in the script, it should be DINMO_ACCESS_ROLE
.
Enter the credentials (user and password) used to connect to the Snowflake user account. These are the ones created in the script in step 1.
Finally, give a name to your source. This name will be displayed on DinMo.
Once the informations are filled, hit "Continue".
Test the connection to ensure the entered information is valid. If the test is successful, click on "Continue" to proceed with the creation of the source. If not, double-check the information entered on the previous page to ensure accuracy.