Skip to main content

Overview

A Datazone project is a Git repository containing your data pipelines, actions, apps, knowledge objects, flows, and endpoints. All project components are defined in a central config.yml file.

Project Structure

my-project
config.yml
pipelines
hello_world.py
data_processing.py
utils.py
  • Each project must have a config.yml file
  • Each pipeline should have a unique alias and be defined in separate files
  • Aliases must be unique within pipelines, within studio_apps and within containers
  • Unknown keys are rejected on deploy rather than ignored, so a typo fails loudly
  • You can organize your code with utility files for shared logic

Configuration File

The config.yml file defines all project resources:
config.yml

Configuration Reference

Project Fields

string
required
Name of your project. Used for display and identification.
string
required
Unique identifier for your project. Generated when you create a project.
array
List of data pipeline definitions. Each pipeline processes and transforms data.
array
List of serverless action functions. Actions can be triggered by endpoints or used by AI agents.
Learn more in the Actions documentation.
array
List of intelligent AI applications.
array
List of Knowledge Object definitions — versioned business entities with a CRUD API.
Removing an entry deletes the object and schedules cleanup of its data. Learn more in the Knowledge Objects documentation.
array
List of declarative YAML orchestration flows.
Learn more in the Flows documentation.
array
List of Studio Apps — React applications built and served by Datazone.
Learn more in the Studio Apps documentation.
array
List of Containers — long-running services built from a Dockerfile or run from an image.
Every field is described in the Containers documentation.
array
List of API endpoint configurations.
Learn more in the Endpoints documentation.

Pipeline Configuration

string
required
Short, unique identifier for the pipeline. Used in CLI commands and UI.
string
required
Relative path to the pipeline Python file from project root.
string
default:"SMALL"
Compute instance size for pipeline execution.Available sizes:
  • XSMALL - 2 vCPU, 8 GB RAM
  • SMALL - 4 vCPU, 16 GB RAM
  • MEDIUM - 8 vCPU, 32 GB RAM
  • LARGE - 16 vCPU, 64 GB RAM
  • XLARGE - 32 vCPU, 128 GB RAM (Enterprise only)
string
default:"local"
Spark deployment mode for distributed processing.Options:
  • local - Runs on a single machine (default)
  • client - Driver runs in the same process, executors run separately
  • cluster - Both driver and executors run in separate processes (Enterprise only)
integer
Number of Spark executors for parallel processing. Only applies when deploy_mode is client or cluster.
object
Additional Spark configuration properties. Pass any custom Spark configuration key-value pairs.
array
Python packages required by the pipeline. Installed before execution.
array
Aliases of pipelines in this project that run before this one. Each upstream pipeline runs in full first. Every alias must be defined in config.yml, and the dependencies cannot form a cycle.
Learn more in Pipelines as Upstreams.

Python Dependency Fields

string
required
Python package name from PyPI or custom index.
string
Specific package version. If omitted, installs the latest version.
string
Custom Python package index URL. Useful for private packages or mirrors.
array
Additional arguments passed directly to the package installer for this dependency.

Action Configuration

string
required
Relative path to the action Python file containing an @action decorated function.
Each file should contain one action function. Learn more in the Actions documentation.

App Configuration

string
required
Relative path to the intelligent app Python file.

Studio App Configuration

string
required
Short, unique identifier for the app. Used in its served URL.
string
Display name shown in Datazone. Defaults to the alias.
string
required
Relative path to the app directory — the folder holding package.json.
The entry is created for you when you add a Studio App, and removing it deletes the app and its directory. Each app is built per branch; see the Studio Apps documentation.

Knowledge Object Configuration

string
required
Relative path to the object definition YAML file. One file may hold several objects, separated by ---.
Learn more in the Knowledge Objects documentation.

Flow Configuration

string
required
Relative path to the flow definition YAML file.
Learn more in the Flows documentation.

Endpoint Configuration

string
required
Relative path to the endpoint configuration YAML file.
Learn more in the Endpoints documentation.

Project Roles

A project has three roles: maintainer, contributor and reader. Organisation admins get them when they create the project with Create project roles ticked. Assign them to users like any other role.
  • Maintainers can change everything in the project, including main, and merge pull requests into it.
  • Contributors work on branches. Their changes reach main through a pull request a maintainer merges.
  • Readers can only view the project.
Maintainers and contributors cannot delete the project. See Policy → Project Roles for the exact permissions.

Branches

Merging Branches

To bring one branch into another without opening a pull request, open the branch selector on the Code page and choose Merge Branches. Pick a Source Branch and a Target Branch (the target defaults to main). Before you merge, the dialog previews the changed files the merge would bring in, compared with where the two branches split. Merge stays disabled until there is something to merge.
  • You need read access to the source branch and write access to the target branch. The dialog warns you when you cannot write to the target.
  • The merge creates a merge commit. If the branches conflict, the merge fails and nothing is pushed.

Example Projects

Data Processing Pipeline

Multi-Component Project

Next Steps