Snowflake
Revenium enables the metering of SQL queries to enable the granular monetization and analytics of data contained in Snowflake data warehouses.
Last updated
Revenium enables the metering of SQL queries to enable the granular monetization and analytics of data contained in Snowflake data warehouses.
Last updated
A Data Warehouse provides the necessary configuration for Revenium to poll external data sources like Snowflake to convert usage history into a format that allows for granular metering and advanced monetization models. To configure a Data Warehouse follow these steps:
Search for Integrations in the search bar -> choose data warehouse -> add new
Provide the configuration options:
Click "Next" and define the details for the Data Warehouse to be monetized:
hostname
The Snowflake URL
username
The username
password
The password
database
The database to create the billing view over
warehouse
The warehouse name
Click "Next". While you shouldn't need to do this unless otherwise instructed by the Revenium Team, you can edit the Schema Creation SQL and Billing Query SQL in this screen:
A Source, in the context of Snowflake, defines the columns of a table to be monetized. Defining columns and tables as sources allows you to create more complex monetization models, i.e. charging differently based on which columns and tables are accessed.
Navigate to Sources -> Add New and create a Subscriber Data Source. Columns that are to be tracked or monetized should be comma separated in the "Resource" field.
Next click on the "Custom Metadata" of the Source and set the "External Source ID" field to match the corresponding Snowflake warehouse:
Snowflake Sources are interchangeable with other Source types, including APIs. This allows you to build sophisticated digital products that include a combination of API access and Snowflake access if desired. You can read more about product & subscription creation in the relevant documentation sections.