Connections and databases
Setup your connection
Create a connection
Connect to a data source or API
Built-in connections
SnowflakeConnection
A connection to Snowflake.
SQLConnection
A connection to a SQL database using SQLAlchemy.
Third-party connections
Connection base class
Build your own connection with BaseConnection.
Secrets
Secrets singleton
Access secrets from a local TOML file.
Secrets file
Save your secrets in a per-project or per-profile TOML file.
Deprecated classes
SnowparkConnection
A connection to Snowflake.
Still have questions?
Our forums are full of helpful information and Streamlit experts.
