Snowflake
To enable usage of Solvimonās data seamlessly in your Snowflake instance. This page describes the steps necessary to connect your Snowflake instance to Solvimon for data exporting.
Getting started
Requirements
The following access is required for us to set-up a connection from your Snowflake instance to Solvimon.
- A Snowflake account with the
ACCOUNTADMINrole. If you donāt have an account with theACCOUNTADMINrole, contact your Snowflake administrator to set one up for you. - If enforcing a network policy, allow Solvimonās IP addresses to interact with your Snowflake instance.
Step 1: Create dedicated role, user, warehouse and database
This step will ensure granular control and separates Solvimonās data from your own data. By executing the script below, this will automatically set-up a new user and warehouse that can be used for the data exports.
š Using an existing warehouse.
By default the script creates a new warehouse and database. This ensures granular controls on the data export process. If youād prefer to use an existing warehouse, change the
solvimon_warehousevariable fromSOLVIMON_WAREHOUSEto the name of the warehouse to be shared. In case of an existing database change thesolvimon_databasevariable fromSOLVIMON_WAREHOUSEto the name of the database to be shared.
When running the script below, make sure you edit the password ({PASSWORD}) with a secure password. Note that special characters should not be used in the password. We recommend to exclusively use alphanumeric characters in the password.
š Successful query execution
In your Snowflake interface, select the
All Queriescheckbox, and clickRun. This will run every query in the script at once. If successful, you will seeStatement executed successfullyin the query results.
You can limit this grant down to specific schemas instead of the whole database. Note that to replicate data from multiple Snowflake databases, you can re-run the command above to grant access to all the relevant schemas.
Step 2: Authentication
We support two ways of authenticating:
- Username and Password
- OAuth2.0
Username and Password
This is the default authentication option. In this case we will use the username and password generated in Step 1 or a user created by you with the required access.
OAuth2.0
When using OAuth2.0 instead of sharing a username and password you will need to share the client ID (Client ID of your Snowflake developer application) and the client secret (Client Secret of your Snowflake developer application). Optionally you can also share the access and refresh token. For more information you can use this guide to generate the client ID and secret.
Step 3: Set network policies
This step is optional and only required if you are actively denying external access to you Snowflake instance. By default, Snowflake allows users to connect to the service from any computer or device IP address. A security administrator (i.e. users with the SECURITYADMIN role) or higher can create a network policy to allow or deny access to a single IP address or a list of addresses.
In case you actively deny external access you will need to add Solvimonās IP addresses to the accepted list. Please reach out to us to receive the relevant static IP addresses that should be whitelisted.
Check network policies
To determine whether a network policy is set on your account or for a specific user, execute the SHOW PARAMETERS command (make sure you replace with the relevant username in the User example):
Account
User
Step 4: Share the relevant information with Solvimon
Please confidently share the following information with us:
As soon as we receive this information we will reach out and work with you directly to set-up the relevant data exports.