Sign inGet started


Deepnote allows you to create and run Streamlit apps directly from the notebook.

In order to run a Streamlit app, you will need to:

  1. Install Streamlit by creating a new code block in a notebook by the following code:
    !pip install streamlit
  2. Create a Streamlit app using the following code:
    import streamlit as st
    st.title('Streamlit runs in Deepnote!')
    Notice the %%writefile on the first line. Instead of executing the code directly, this only creates a file called with the rest of the block as its content.
  3. Run the Streamlit app from the notebook:
    !streamlit run --server.port 8080
  4. Enable Incoming connections in your project.
  5. Open the url from the Incoming connections tooltip and you'll see the app running.