Best on Snowflake

Streamlit runs natively
inside Snowflake

Streamlit is Snowflake's native framework for data apps. Your data stays on the platform, Snowflake's access controls apply, and Cortex Code can build the app for you on top of your semantic views.

Streamlit in Snowflake

What you get on Snowflake

  • It runs inside Snowflake

    Your data stays on the platform, under Snowflake's access controls. An app runs with its owner's rights, or with caller's rights, so each viewer sees only the data they may see.
  • Cortex Code builds it

    Describe the app in plain words, and Cortex Code builds it using Streamlit's skills.
  • It works with governed metrics

    Apps can query semantic views, so a dashboard shows the same numbers as the rest of the business, or they can query tables directly.
  • It's AI-ready

    Call Cortex AI's models and functions from your app, in the same Python as the rest of its logic. AI agents can use the app as a governed tool, under the same access controls as its human viewers.
  • It's easy to share

    Embed apps in your own pages, and share them with exactly the right people.

Governed metrics

The same numbers as the rest of the business

Where you use a semantic layer, query a semantic view from your app, and every dashboard uses the governed metric definitions your company already agreed on. Run the query with caller's rights when each person should see only their own data.
app.py
import streamlit as st

# Queries run with each viewer's own Snowflake rights
conn = st.connection("snowflake-callers-rights")

revenue = conn.query("""
    SELECT * FROM SEMANTIC_VIEW(
        sales.revenue
        DIMENSIONS orders.region, orders.month
        METRICS orders.net_revenue
    )
""")

st.line_chart(
    revenue, x="MONTH", y="NET_REVENUE", color="REGION"
)

Not only on Snowflake

Snowflake is the best place to run Streamlit, not the only one

Everything also works with any database and any cloud. Streamlit is open source under the Apache 2.0 license, and on Snowflake, its governance adds another layer on top.
  • Any database

    Query any database or warehouse with a Python client, or through a built-in connection.
  • Any cloud

    Run it anywhere Python runs: in your own cloud, in a container, or on Community Cloud.
  • The same guardrails

    Security, accessibility, and a shared brand theme hold wherever an app runs.

Frequently asked questions

Get started

Build your first app in Snowflake

Start a trial and build your first app inside Snowflake, or describe it in plain words and let Cortex Code build it for you.