Connect data sources
Your app probably connects to some data source, and it's important to make sure that connection is secure. That data might just be a csv that you have in your GitHub repo, but in many cases it'll be a private data source you connect with via API, on a cloud service, or maybe in your company's VPN.
Streamlit has one primary way of securely connecting to private data:
- Secrets management: securely store secrets like API keys and TOML files that you can then access as environment variables in your app.
We also have a series of guides on how to connect to:

AWS S3

BigQuery

Deta Base

Firestore (blog)

Google Cloud Storage

Microsoft SQL Server

MongoDB

MySQL

PostgreSQL

Private Google Sheet

Public Google Sheet

Snowflake

Supabase

Tableau

TiDB

TigerGraph
Note
Trouble connecting to data? Need a different way to securely connect? Reach out on our Community forum to chat through options!