These step-by-step guides demonstrate how to connect Streamlit apps to various databases & APIs. They use Streamlit's secrets management and caching to provide secure and fast data access.
<aside> ⚠️ DEPRECATED!!! These guides migrated to our docs. Please view the current version at: https://docs.streamlit.io/en/stable/tutorial/databases.html
</aside>
Connecting Streamlit to Google BigQuery
Connecting Streamlit to a public Google Sheet
Connecting Streamlit to a private Google Sheet
Connecting Streamlit to AWS S3
Connecting Streamlit to PostgreSQL
Connecting Streamlit to MongoDB