Hello community!
As you may have noticed in the post on the upcoming June product release, we are releasing a new beta feature enabling you to build and deploy low-code data applications using Streamlitđ
It is often a tedious task to create and share data applications, including even simple dashboards. Considerations such as hosting infrastructure, approvals with IT teams, and availability of data are often blockers for progress. Our new feature allows you to build low-code applications in Python, leveraging the Streamlit framework, and deploying the applications to users instantly to access them.
Below you will find a walkthrough of the new experiences for both application builders and consumers. You can also find more information in our documentation.
We hope you find this feature as exciting and valuable as we do. As always, we are looking forward to hearing your feedback đ
Â
Building & deploying applications - Data Management workspace
Â
- To build and deploy Streamlit apps, you need to navigate to the âData Managementâ workspace, expand âExploreâ, and select âStreamlit appsâ.
![](https://uploads-eu-west-1.insided.com/cognite-en/attachment/84bc1477-86f6-4529-be0c-38cc69b3ec76.png)
Â
- After clicking on âStreamlit appsâ, you will be taken to an overview of existing Streamlit applications. Here you will be able to see all applications created within your Cognite Data Fusion project, and filter the applications already published for use, in addition to applications made by yourself.
![](https://uploads-eu-west-1.insided.com/cognite-en/attachment/767b1eb0-2519-4ce7-90cd-a0575f940ff9.png)
Â
- To create a new application, you will need to select âCreate appâ in the upper right corner of the screen. This will make a form appear asking you to name your application, add a description (optional), place the application in a Data Set (optional), and either build the application from scratch or get inspiration from pre-made templates. There is also an option to import Streamlit application files.
Note: Streamlit applications are stored as files in Cognite Data Fusion, so you will need write access to Files to be able to create applications.
![](https://uploads-eu-west-1.insided.com/cognite-en/attachment/9b24bd94-e5e6-4776-9c46-2b15c0a5b7a8.png)
Â
- Once you have filled out the form, a new screen appears displaying the Streamlit applicationâs Python code and what the application looks like. You can click on âShow / Hideâ in the upper right corner to remove both the code editor and the top toolbar, enabling you to view the application on the full screen, similar to what the end user will experience.
![](https://uploads-eu-west-1.insided.com/cognite-en/attachment/50145ccd-bb65-4155-b9cb-9769de905409.png)
Â
- After creating or editing your application, you can click on âSettingsâ in the bottom left of the screen. Here you can make changes to the information provided earlier, and a few other choices such as light or dark mode themes. Most importantly, you can select to publish or unpublish your application. Published applications appear in the âIndustrial Toolsâ workspace. More on that in the next section!
![](https://uploads-eu-west-1.insided.com/cognite-en/attachment/6bd15e58-9d39-474d-8831-90918dc1a74b.png)
Â
Using applications - Industrial Tools workspace
Â
- To access and use the published Streamlit applications, you can navigate to the âIndustrial Toolsâ workspace and select âCustom appsâ.
![](https://uploads-eu-west-1.insided.com/cognite-en/attachment/a838639b-3f09-45de-b5fa-24d55a914846.png)
Â
- You will then be able to view and search for all Streamlit applications published to your Cognite Data Fusion project, given you have the necessary accesses.
Note:Â
Since Streamlit applications are stored as files, in order to use an app, you will need Files read access to the Data Set it is stored in. You will also need read access to the necessary Data Resource Types used in the application (e.g Time Series, Data Model instances, etc.).
![](https://uploads-eu-west-1.insided.com/cognite-en/attachment/811cf7fd-b5d2-4363-8995-2bcd4081fb48.png)
Â
- In the case where no Streamlit applications have been published to your project, you will be met with an empty screen guiding you to the documentation on how to build and deploy applications.
![](https://uploads-eu-west-1.insided.com/cognite-en/attachment/9b69576d-6418-4e1b-8985-7d1110f5d050.png)