Sample Notebooks and Worksheets¶
Tutorials¶
Here are tutorials to try out using Snowflake Data Clean Rooms when you’re just getting started:
Basic API tutorial, two accounts: Demonstrates using the API to create and run a custom template using a single Snowflake account.
Sample notebooks and worksheets¶
Many of the use case topics include full running samples of Snowflake Data Clean Rooms as downloadable notebooks or worksheets. You need a Snowflake account with the clean rooms API environment installed to run any of these samples, and you must be able to use the SAMOOHA_APP_ROLE role.
Tip
To upload SQL worksheets and notebooks, see Create and work with files and folders.
- Sample single-account collaboration:
Demonstrates a simple collaboration with only a single user account. The example worksheet creates a collaboration with two data offerings and two templates, and runs each template.
- Advanced single-account collaboration:
Demonstrates the use of RBAC roles to limit access, and custom registries, in a single account. The example worksheet creates a collaboration with four roles: one that can create a collaboration; one that can register templates; and two that can run analyses.
- Basic two-party example:
Demonstrates a two-party collaboration that creates templates and data offerings. Requires two accounts.
- Free-form query example:
Demonstrates how to implement and run free-form SQL queries in a collaboration. Requires two accounts.
For more examples, including inventory forecasting and last touch attribution, see the Use cases section.