Snowflake cost connection
IP RESTRICTIONS
Make sure to allow traffic from one of the Paradime IPs in your firewall depending on the data location selected.
👉 See also: Paradime IP addresses.
1. Snowflake setup guide
Create a Snowflake role and user
-- 1.### create user and role
use role useradmin;
create user if not exists paradime_cost_user
password = '<your_generated_password_here>'
default_role = paradime_cost_role
default_warehouse = paradime_warehouse
comment = 'Used by paradime.io for cost analytics';
create role if not exists paradime_cost_role comment = 'Used by paradime.io for cost analytics';
grant role paradime_cost_role to role sysadmin;
grant role paradime_cost_role to user paradime_cost_user;Create a Snowflake warehouse
Create S3 integration
Create a new database and schema for Paradime
Create a new Snowflake file format
Grant access to Snowflake metadata to the Paradime user
Enable the Paradime user to manage and monitor Snowflake Warehouses
Ensure your account has ORGADMIN access
Paradime relies on views from the snowflake.organization_usage such as the snowflake.organization_usage.rate_sheet_daily view is used to retrieve your daily rate for each Snowflake service (example the cost per credit for compute resources and cost per terabyte for storage).
To verify if these views are populated in your account, please execute the following SQL statement:

Purchased your Snowflake credits through a reseller?
If you purchased your Snowflake contract or credits through a reseller, such as the AWS Marketplace, you will not have access to the organization_usage views even after executing the steps mentioned above to enable the ORGADMIN role.
Share a copy of your latest Snowflake invoice with the Paradime team (via chat or by emailing [email protected] so that we can manually input the applicable rates for your account.
Full script here 👇
2. dbt™️ project setup guide
Create a macro to manage query comments
To enable Paradime to enrich your Snowflake queries with additional metadata you will need to create a new dbt™️ macro called get_query_comment.sql in the macros folder of your project.
Update your dbt_project.yml file
This step ensures that with each dbt™️ run, the query comment is appended to the query running in Snowflake.
3. Configured Cost connection in Paradime
From the account setting page of your Paradime workspace, add your new Snowflake Cost connection using the credentials below:
You Snowflake Account Identifier
The Paradime Database created during the Snowflake Setup. This is named as:
PARADIME_COST_ANALYTICSThe Paradime cost username and password, where the username is
paradime_cost_user, and the password generated during the setup.
Last updated
Was this helpful?