Worksheets
Liveboards
By default, Snowflake.Account_Usage
is limited to the role ACCOUNTADMIN Grant permission for the following views to role defined in Embrace Connection
Change EXAMPLE_Role
to role of your choosing.
GRANT USAGE ON DATABASE "SNOWFLAKE" TO ROLE PMM_ROLE; GRANT USAGE ON SCHEMA "SNOWFLAKE"."ACCOUNT_USAGE" TO ROLE PMM_ROLE; GRANT SELECT ON DATABASE_STORAGE_USAGE_HISTORY IN SCHEMA "SNOWFLAKE"."ACCOUNT_USAGE" TO ROLE PMM_ROLE;
GRANT SELECT ON STAGES IN SCHEMA "SNOWFLAKE"."ACCOUNT_USAGE" TO ROLE PMM_ROLE; GRANT SELECT ON STORAGE_USAGE IN SCHEMA "SNOWFLAKE"."ACCOUNT_USAGE" TO ROLE PMM_ROLE; GRANT SELECT ON WAREHOUSE_METERING_HISTORY IN SCHEMA "SNOWFLAKE"."ACCOUNT_USAGE" TO ROLE PMM_ROLE;
GRANT USAGE ON DATABASE "SNOWFLAKE_USAGE_TS" TO ROLE PMM_ROLE; GRANT USAGE ON SCHEMA "SNOWFLAKE_USAGE_TS"."ACCOUNT_USAGE" TO ROLE PMM_ROLE; GRANT SELECT ON QUERY_HISTORY IN SCHEMA "SNOWFLAKE_USAGE_TS"."ACCOUNT_USAGE" TO ROLE PMM_ROLE;
Log into your ThoughtSpot instance and create an Embrace connection to each of the five following views:
Import the TML for the worksheets(snowflaketmlblocksworksheets) and verify that it has all been imported without any errors. Import the TML for the liveboards(snowflaketmlblocksliveboards) and verify that it has all been imported without any errors.