Connect to Snowflake
Connect your Snowflake account to Quper to track warehouse credits and query costs.
What Quper tracks from Snowflake
Before you begin
Connection steps
1
2
-- Create Quper role
CREATE ROLE IF NOT EXISTS QUPER_READER;
-- Grant access to billing and usage views
GRANT IMPORTED PRIVILEGES ON DATABASE SNOWFLAKE TO ROLE QUPER_READER;
-- Create Quper user
CREATE USER IF NOT EXISTS QUPER_SERVICE_USER
PASSWORD = '<generate-a-strong-password>'
DEFAULT_ROLE = QUPER_READER
DEFAULT_WAREHOUSE = '<your-warehouse>'
MUST_CHANGE_PASSWORD = FALSE;
-- Assign role to user
GRANT ROLE QUPER_READER TO USER QUPER_SERVICE_USER;3
What queries Quper runs
Troubleshooting
Last updated
Was this helpful?

