Skip to main content
Solved

Definition of environmental variables while developing extractors in the Data Engineer Basics- Interations module


Forum|alt.badge.img+3

I’m trying to define the following variables for the Data Engineer Basics -Integrations Module to develop a extractor:

 COGNITE_TOKEN_URL, COGNITE_CLIENT_ID, COGNITE_CLIENT_SECRET, COGNITE_BASE_URL, COGNITE_PROJECT.

Can you anyone suggest how do we define them especially Client Secret value? Should these be requested by Cognite Admin?

Best answer by Sofie Haug

Extractor-utils Library for Cognite Python SDK  is a informative course. The course doesn’t give any project details to deploy the extractor to because we don’t have that setup unfortunately. But if you are a part of a organisation which are costumers or partners of Cognite, you might have access to your own CDF project. You can then use the course, along with documentation, to set up a extractor in your project. As linked in the course, this quickstart guide might be useful: https://cognite-extractor-utils.readthedocs-hosted.com/en/latest/quickstart.html

So the variables you mention can unfortunately not be provided by Cognite Academy. 

 

Sofie, Cognite Academy

 

 

View original
Did this topic help you find an answer to your question?

6 replies

Sofie Haug
Seasoned Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 161 replies
  • February 6, 2023

Hi @Philips ! Are you currently doing the Python SDK course?

 

Sofie


Forum|alt.badge.img+3
  • Author
  • Committed
  • 12 replies
  • February 6, 2023

Hi @Sofie Haug , I’m currently doing the ‘Extractor-utils Library for Cognite Python SDK’ module in ‘DATA ENGINEER BASICS - INTEGRATE’ course.


Sofie Haug
Seasoned Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 161 replies
  • February 7, 2023

In which CDF project are you trying to use the extractor @Philips ?
 


Sofie Haug
Seasoned Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 161 replies
  • Answer
  • February 7, 2023

Extractor-utils Library for Cognite Python SDK  is a informative course. The course doesn’t give any project details to deploy the extractor to because we don’t have that setup unfortunately. But if you are a part of a organisation which are costumers or partners of Cognite, you might have access to your own CDF project. You can then use the course, along with documentation, to set up a extractor in your project. As linked in the course, this quickstart guide might be useful: https://cognite-extractor-utils.readthedocs-hosted.com/en/latest/quickstart.html

So the variables you mention can unfortunately not be provided by Cognite Academy. 

 

Sofie, Cognite Academy

 

 


Forum|alt.badge.img+3
  • Author
  • Committed
  • 12 replies
  • February 7, 2023

Thank you Sofie for your quick response.

I’m not trying to implement the extractor in any CDF Project. Rather I’m going through the course and seeing if I can get the extractor I developed working.

Thanks,

Philips


Sofie Haug
Seasoned Practitioner
Forum|alt.badge.img+7
  • Cognite Academy Instructor
  • 161 replies
  • February 7, 2023

I see @Philips! But to test it you need to specify the variables you mention above. And to get the relevant info you need to have a CDF project as the target (which we unfortunately cannot provide as of now). 
But thank you for taking our courses and let us know! Maybe we’ll be able to have an environment where this can be tested in the future!

Sofie


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings