I thought it would be cool to layer Streamlit apps into websites and SaaS tools, and pass context from the page into the app.
Our method was to use a browser extension to embed the app as an iframe and pass inputs via URL parameters; (full disclosure I work for PixieBrix and we’re a low code extension builder)
Hi @BeyondMyself, I wanted to clarify that the example embeds Streamlit into a 3rd-party website (cbssports.com), which I don’t control. This is why I’m using a browser extension.
This method also lets you embed Streamlit into SaaS apps like Salesforce, so you’re not limited to the set of app builders and visualization tools available in the AppExchange.
Why does this method work for localhost URL but not my network?
I’m trying to embed my streamlit app into my WordPress site and when I use the network URL it does not render anything but the localhost works just fine.
What does the frame look like? Is it showing an error message, or just showing as blank?
Also, are you using Streamlit’s hosting service or your own domain/host? If you’re using your own, you might want to double-check that: 1) you’re using https:, 2) you don’t have an Adblocker or other extension running that might block that URL
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.