Getting Started: Tutorial#
Before you can use relationalai
, ensure that your Snowflake account administrator has:
- Installed the RelationalAI Native App from the Snowflake Marketplace.
- Granted your Snowflake user the
app_user
application role.
See the Native App Installation guide for details.
Scenario#
The marketing team at your company wants to find segments of customers with similar purchasing behavior so they can target them with more personalized marketing campaigns, and they’ve asked you to help. Fortunately, you’ve got the RAI Native App installed in your organization’s Snowflake account!
In this tutorial, you’ll use a portion of the sample TPC-DS dataset available in Snowflake to create a model of retail business sales. You’ll use graph analytics to detect customer segments with similar purchasing behavior, and then export the segment data to a Snowflake table for the marketing team to use.
Objectives#
After completing this tutorial, you’ll know how to:
- Create a model with entities derived from Snowflake tables.
- Create graphs and use graph algorithms.
- Visualize entities and relationships in the model.
- Export data from the model to a Snowflake table.
- Structure a project for reuse and extension.