Skip to main content
Haris vk
Seasoned ⭐️⭐️
Seasoned ⭐️⭐️
May 3, 2025
Solved

Working with cdf demo project

  • May 3, 2025
  • 28 replies
  • 387 views

Hi Cognite Team,
I'm building a React dashboard using Cognite Data Fusion for my portfolio and would like to know if there are any demo projects available for working with CDF data.

Best answer by Mithila Jayalath

Hi ​@Haris vk,

I am working on a development project and want to explore the full asset data. Many assets in the publicdata project have time series, but they lack 3D models.

Can you please let me know what sort of help that you need from our end?

Also, regarding  Fusion.cognite.com , do I need access to the publicdata project there to explore it?

You should have access to the publicdata project. You can login to the project via https://publicdata.fusion.cognite.com/

28 replies

Haris vk
Seasoned ⭐️⭐️
Haris vkAuthor
Seasoned ⭐️⭐️
August 20, 2025

Hi ​@Mithila Jayalath ,

Could you please enable Canvas and the new Atlas AI feature in the publicdata Fusion project?

I’m currently working on R&D and would like to explore these features in order to build an external application using the Cognite SDK.

Thanks!

Haris vk
Seasoned ⭐️⭐️
Haris vkAuthor
Seasoned ⭐️⭐️
August 28, 2025

Hi ​@Mithila Jayalath 


I have worked with the Asset API, Time Series, Events, P&ID diagrams, and Asset Annotations.

Now I need to work with 3D models. I found that Cognite provides a 3D Viewer engine for rendering, but instead of using that, I would like to obtain the 3D model as a .glb file so I can render it using an external package.

Could you please help me with this?

Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
August 28, 2025

@Haris vk what sort of a help do you need here? 

Haris vk
Seasoned ⭐️⭐️
Haris vkAuthor
Seasoned ⭐️⭐️
August 28, 2025

hi ​@Mithila Jayalath Could you please check if there’s a model available in .glb format?
If not, do you have any option to upload a model with a .glb extension to the public data, so that we can fetch and render it using an external package?

Thanks

Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
August 28, 2025

@Haris vk I checked the available models in the publicdata project, They are not in .glb format.

If not, do you have any option to upload a model with a .glb extension to the public data, so that we can fetch and render it using an external package?

Currenlty it’s not possible to upload any models to the publicdata project. If you are interested in getting access to a standbox project, you will have to contact us through this form:  https://www.cognite.com/en/contact.

Haris vk
Seasoned ⭐️⭐️
Haris vkAuthor
Seasoned ⭐️⭐️
August 29, 2025

Hi, in Cognite 3D Viewer I need to integrate it into my app.

We already have the model ID and revision ID. I went through the Cognite 3D Viewer documentation, and from what I understood, the code looks like this:

 

import { CogniteClient } from '@cognite/sdk'; import { Cognite3DViewer } from '@cognite/reveal'; const loginManager = new LoginManager('publicdata', 'api'); const client = new CogniteClient({ appId: 'myCadAppId', project: loginManager.project, getToken: async () => loginManager.getToken() }); await client.authenticate();

But my question is about initialization in a React app.
Since we already have authentication credentials for public data in our backend (using the Python SDK), do we need to create another secret/API key for the JavaScript side in an OIDC widget, or can we reuse the backend authentication flow to render the 3D model in React?

Haris vk
Seasoned ⭐️⭐️
Haris vkAuthor
Seasoned ⭐️⭐️
August 29, 2025

Hi ​@Mithila Jayalath  in Cognite 3D Viewer I need to integrate it into my app.

We already have the model ID and revision ID. I went through the Cognite 3D Viewer documentation, and from what I understood, the code looks like this:

 

import { CogniteClient } from '@cognite/sdk'; import { Cognite3DViewer } from '@cognite/reveal'; const loginManager = new LoginManager('publicdata', 'api'); const client = new CogniteClient({ appId: 'myCadAppId', project: loginManager.project, getToken: async () => loginManager.getToken() }); await client.authenticate();

But my question is about initialization in a React app.
Since we already have authentication credentials for public data in our backend (using the Python SDK), do we need to create another secret/API key for the JavaScript side in an OIDC widget, or can we reuse the backend authentication flow to render the 3D model in React?

Haris vk
Seasoned ⭐️⭐️
Haris vkAuthor
Seasoned ⭐️⭐️
August 29, 2025

Hi ​@Mithila Jayalath , 

 

Yeah I got an access to 3d viewer using my python sdk authenticated access token