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 15, 2025

Hi @Mithila Jayalath,

My current steps are as follows:

I created a secret for the Python SDK using the Cognite OIDC widget.

I used the following details:

Tenant ID: 48d5043c-cf70-4c49-881c-c638f5796997

Client ID: 1b90ede3-271e-401b-81a0-a4d52bea3273

Project: Public data

Cluster API: [Cluster API URL]

I used the following function:

def get_cognite_client(credentials):
    return CogniteClient(
        ClientConfig(
            project=credentials.project,
            client_name="cdf-dashboard",
            base_url=f"https://{credentials.cluster}.cognitedata.com",
            credentials=OAuthClientCredentials(
                token_url=f"https://login.microsoftonline.com/{credentials.tenant_id}/oauth2/v2.0/token",
                client_id=credentials.client_id,
                client_secret=credentials.client_secret,
                scopes=[f"https://{credentials.cluster}.cognitedata.com/.default"]
            )
        )
    )


However, when I use this Cognite client, I cannot retrieve the asset list — even though authentication is successful and returns a valid response.

Could you please help me resolve this?

thanks

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

@Haris vk can you kindly change the project name from Public data to publicdata and check again?

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

Hi ​@Mithila Jayalath ,

Right now, my client authentication is working, and I was able to list some assets in the publicdata project.

However, none of the assets contain complete or meaningful data — for example, an asset might have time series and events, but not a 3D model.

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.

Could you please help me with this?

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

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

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/

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

Hi  ​@Mithila Jayalath , in https://publicdata.fusion.cognite.com/ we can access it using a personal Microsoft account. But in my case, it requires MFA access, and the Authenticator code is not working.

thanks

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

Hi ​@Mithila Jayalath 

 

Thanks for the clarification. Yes, I would like to explore the full asset data, including the 3D models, if available. Currently, I can see time series data for many assets, but not the corresponding 3D models. Could you confirm if 3D models are available in the publicdata project, or if they are limited to specific assets only?

Regarding access: I am able to log in to https://publicdata.fusion.cognite.com/ with my Microsoft account. However, my account seems to require MFA, and the Authenticator code is not working as expected. Could you please guide me on how to resolve this and ensure proper access to the publicdata project?

Thanks,
Haris

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

I checked in the publicdata project. Only three 3D models are available in the project and they are linked only to few specific assests. I hope this answers your question.

I have reset your MFA. Can you please check whether if you are able to re-register to MFA and login to the CDF project. 

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

Hi ​@Mithila Jayalath ,
Yes, I also get only 3 3D models available. They are linked to specific assets, but those assets do not have any time series or events, right?

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

Hi ​@Mithila Jayalath ,
Yes, MFA was enabled successfully and I logged into CDF Fusion Public Data.

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

Yes, I also get only 3 3D models available. They are linked to specific assets, but those assets do not have any time series or events, right?

I just randomly checked. Some assets linked to a 3D model do have timeseries, events linked to them. Check this asset as an example.

ID: 5787085828571389

Name: T-90