Tutorial — set up a Cognite Data Fusion (CDF) project¶
This tutorial is aimed at people who want to set up a CDF project and manage it in a CI/CD environment with the Cognite Toolkit. To follow the tutorial, familiarity with cloud concepts and basic knowledge of data management will be helpful.
By the end of this tutorial, you will have a fully functional CDF project that can be used to manage and analyze your data. You will create a project similar to the Cognite Data Fusion Sample Project.
Step 1: Get a CDF project¶
To get started, you need a Cognite Data Fusion (CDF) project. If you don't have a CDF project yet, you can sign up for a free trial or contact your Cognite representative to get access.
Register for a CDF project¶
If you already have a CDF project, you can skip this step. To register for a CDF project:
- Navigate to the Cognite Data Fusion registration page.
- Fill in the required information, including your name, email address, and organization.
- Select the region and cluster for your project.
- Click "Register" to submit your request.
Get access to publicdata¶
When you sign up for the Cognite Hub, you get access to public data sets that can be used in your CDF project. The data originates from a single compressor on Aker BP’s Valhall oil platform:
- Go to the Cognite Hub and sign up.
You can learn more about the public data sets in the Open Industrial Data section of the Cognite Hub.
Configure your identity provider (IdP)¶
To allow apps and users to sign in to Cognite Data Fusion with their organizational ID, configure your identity provider (IdP):
Allowlist URLs on your firewall¶
To load user interfaces correctly:
- Add these URLs to your allowlist: Allowlist URLs
Step 2: Deploy with the Cognite Toolkit¶
Prerequisites for this step include: A recent version of Python, at minimum v3.10. Recommended: a virtual environment manager like Poetry or pyenv for Python versions and dependencies. Recommended: Basic knowledge of Git.
Set up the Cognite Toolkit¶
Configure, build, and deploy modules¶
- https://docs.cognite.com/cdf/deploy/cdf_toolkit/guides/usage
- https://docs.cognite.com/cdf/deploy/cdf_toolkit/references/packages/quickstart
Set up authentication and authorization¶
Troubleshooting¶
Acknowledge what may go wrong in the task and list a few common problems readers might run into with solutions.
Conclusion¶
Review what was accomplished or built. Refer back to the project provided in the introduction as an example of a successful project.
Next steps¶
Include 2-3 actionable next steps that someone can take after completing the tutorial. Link off to other related information like:
- Projects that illustrate the introduced concepts
- Relevant information on docs.cognite.com
- Relevant Academy content or Hub posts.