As per documentation, to enable your users to access the Streamlit apps module in Cognite Data Fusion (CDF), you'll need to grant them the appropriate capabilities in the Admin section.
Access to Streamlit applications is managed by controlling access to the files that constitute the application. We recommend creating a dedicated dataset for your Streamlit apps to ensure you can manage permissions effectively.
For your users, you will need to grant them the following capabilities on the dataset where the Streamlit apps are stored:
End-users:files:read capability is sufficient for users who only need to view and interact with the applications.
Developers/Maintainers:files:write capability is necessary for users who will be developing, editing, or managing the Streamlit applications.
You can find detailed instructions and best practices for setting this up in the official Cognite Data Fusion documentation here: https://docs.cognite.com/cdf/streamlit/
This document will guide you through the process of managing access and other aspects of using Streamlit within CDF.
I’m a bit confused. I’ve created a Streamlit app, and it’s up and running in Cognite Data Fusion (CDF). I’d like to allow my colleagues to use it -- do they need user access to Cognite to do so?
Excellent! So Streamlit apps are just stored as CDF files, so anyone who has access to the data set (or global Files read if you did not specify a data set) can see your app. If you publish, it will appear under the “Custom apps” section under the Industrial tools workspace in Fusion.
These Streamlit apps are only consumable in Fusion (https://fusion.cognite.com), so your colleagues need to have Cognite access and log into Fusion to use it, yes.
Hope this helps and let me know if you have any other questions!