Building Multi-Tenant Experiences with Embedded Streamlit in Snowflake Apps
Learn from Rob Dominguez (Data Platform Architect) on how to build multi-tenant web apps by embedding Streamlit in Snowflake into an external application. See how authentication, iframe embedding, and tenant isolation work together to give users access to their tenant’s data. 💡 What You’ll Learn - Embed Streamlit in Snowflake into an external web application. - Understand the authentication and backend flow that supports embedding. - See how switching users changes the tenant data displayed. - Explore three levels of tenant isolation for multi-tenant applications. 📚 Resources - Documentation https://docs.snowflake.com/en/developer-guide/streamlit/features/embedding/overview - Code samples https://github.com/sfc-gh-rdominguez/embedded-streamlit-multitenant-demo ⏳ Timestamp 0:00 Introduction 0:25 Multi-tenant app demo 1:14 Switching users and tenant accounts 1:52 Multi-tenant architecture and isolation 3:02 OAuth, backend API calls, and iframe embedding 5:08 Getting started resources