Skip to main content
NEAT is distributed as a Python package and is used primarily in notebook environments such as Jupyter Notebooks or CDF Notebooks.

CDF Notebooks environment

CDF Notebooks provide a straightforward way to get started with NEAT, even if you have no coding experience.
Prerequisites: A CDF account with access to the Data fusion workspace and Build solutions.
1

Open CDF and launch a notebook

Navigate to Cognite Data Fusion, sign in, and select the Data fusion workspace. In the left menu, select Build solutions, then Jupyter Notebooks, and launch a new notebook.
2

Install cognite-neat

Run %pip install cognite-neat in a cell.
3

Import and start using NEAT

Import NeatSession and CogniteClient and start using NEAT as shown below.

Local Notebook environment

Running NEAT locally requires Python 3.10 or later and a notebook environment. The steps below use Jupyter Lab.
Prerequisites: Installed Python 3.10 or later. See python.org.
1

Create directory and virtual environment

Create a project directory and navigate into it. Create and activate a virtual environment.
2

Install cognite-neat and Jupyter Lab

Install cognite-neat, jupyterlab, and tqdm for progress bars.
3

Start Jupyter Lab

Run jupyter lab to start your notebook environment.
In a notebook cell, import NeatSession and get_cognite_client and start using NEAT as shown below:
The get_cognite_client helper reads environment variables from a .env file and creates a CogniteClient instance. This is a common pattern when working with CDF through Python. If you don’t have a .env file, the function prompts you to enter environment variables interactively and offers to save them. You can also instantiate CogniteClient directly if you prefer.

Further reading

Last modified on May 26, 2026