Solved

How to connect a private Cognite project to Python DSK [Community Contributed]


Userlevel 1
Badge

I am new to learning how to utilize Cognite Data Fusion. I apologize if this question has already been answered; if it has, please inform me!

Currently, I plan to use Cognite to establish a connection with a digital twin and utilize the Python SDK to import and extract data using custom-built models. However, I have a question regarding connecting the SDK to a private project. In the case of Open Industrial Data, we were provided with a Tenant ID, Client ID, and Base_URL.

Hence, I would like to inquire whether there are any specific steps or requirements to connect to a private access project using the Python SDK. I would greatly appreciate any assistance you can provide. Thank you!

icon

Best answer by Gaetan Helness 21 June 2023, 20:13

View original

3 replies

Userlevel 4
Badge

Hello,

To connect to a private project, while requesting it, you will need to connect it to an organization/domain name. 

https://docs.cognite.com/cdf/sign-up/#step-1-choose-the-domain-name-and-cdf-admin

This organization name is connected to an Identity Provider (idP) which will take care of the authentication of the project. 

When requesting a new (private) project,  you are being asked for the IdP details, like admin group ID and tenant ID from Azure AD for example. 

If it is a new IdP, you should also configure the idP to establish trust between the IdP and CDF. 

You can read more info here https://docs.cognite.com/cdf/learn/cdf_auth/cdf_auth_idp

 

 

Userlevel 1
Badge

Thank you so much for this! I’ll try this out and let you know if I have any other questions!

Userlevel 4
Badge +2

Hi @Vishnuvallabha Iyengar,

We appreciate your contribution to our community hub! We have chosen to move your article to our hub's How-To section as it will greatly benefit other members of our community. Thank you for your understanding, and we look forward to seeing more great contributions from you in the future! 

Best regards,
Dilini 

 

Reply