Streamlit

Using Streamlit with Saturn Cloud

To deploy a dashboard powered by Streamlit, you’ll need to do the following.

  1. Create a deployment.
  2. Connect your deployment to a git repo containing your Streamlit app.
  3. Edit the deployment options in the following way:
  4. For the Command in the deployment options, select streamlit run [filename] where filename is the file with your streamlit app.
  5. In the Environment Variables options, add the environment variables below, which let Streamlit know how to use the correct ports with Saturn Cloud and be open to requests from other machines.
STREAMLIT SERVERPORT=8000 
STREAMLIT_HEADLESS=True 
STREAMLIT SERVERADDRESS=0.0.0.0

With that, when you start the deployment and go to the URL you should see your dashboard.


Need help, or have more questions? Contact us at:

We'll be happy to help you and answer your questions!