Skip to content

Manual quick start (5 minutes)

For: first-time users who have Ciaren running. You get: your first flow, built, run, and exported as Python in about five minutes.

A saved pipeline is called a flow in the editor and the API. This walkthrough uses the visual editor. An API-only version is at the end.

Prefer to describe the flow?

With your own provider API key, the AI flow assistant can propose a flow like the one below from a sentence, and you edit it on the canvas afterwards. Follow the AI quick start. It is available from release 0.4.0.

Do I need an API key to use Ciaren?

No. Building by hand needs no model provider key. You can upload a CSV, connect nodes yourself, run the flow locally, and export pandas or Polars code. A remote data connector may need its own credentials.

To have Ciaren propose the nodes from a prompt instead, follow the AI quick start.

Before You Start

  • Ciaren running locally (Installation). If you installed from PyPI or used Docker, open http://localhost:8055. If you run from source in development mode, open http://localhost:5173.

  • Either the built-in Demo project or a small CSV. Any file with a header row works, for example sales.csv:

    csv
    order_id,region,amount,notes
    1,North,120.5,
    2,South,,first order
    2,South,,first order
    3,,80,

No CSV at hand? Use the Demo project

Every fresh install seeds a Demo project with sample datasets, so you can follow this walkthrough without uploading anything. What it contains, and how to start without it, is on Demo Project & Tutorials.

What you'll build

You will have a pipeline that cleans a CSV, aggregates it, and writes a summary CSV, plus the equivalent Python script.

  1. 1Input
    File Input
    upload sales.csv
  2. 2Clean
    Drop Nulls
    remove rows missing amount
  3. 3Clean
    Remove Duplicates
    deduplicate rows
  4. 4Transform
    Group By + Aggregate
    sum amount by region
  5. 5Output
    File Output
    sales_summary.csv

1. Pick or Upload a Dataset

If you are using the Demo project, you can skip the upload and use an existing sample dataset.

To upload your own file:

  1. Open the app and go to Datasets. The drop zone is visible immediately, with the Upload to project dropdown defaulted to your first project (e.g. "Default"); change it if you want the file to land somewhere else.
  2. Drag your file onto the drop zone, or click it to browse and select one. It accepts CSV, TSV, Excel, Parquet, JSON, JSON Lines, or plain text.

Ciaren infers the column schema and stores a sample. Datasets are versioned: re-uploading a file with the same name adds a new version rather than overwriting the old one, so existing flows stay reproducible.

2. Create a flow

  1. Go to Flows → New flow. This opens a modal with Name/Description/Project fields and starter templates such as Blank flow, Clean & Deduplicate, Filter & Aggregate, Data Quality Checks, and Tidy Columns. Pick Blank flow for an empty canvas, as this walkthrough assumes.
  2. Drag a File Input node from the palette, select the dataset you uploaded, and set its File type to CSV.
  3. Add a few transformation nodes and connect them in order:
    • Drop Nulls: remove rows missing an amount.
    • Remove Duplicates: drop repeated rows.
    • Group By Aggregate: group by region, sum amount.
  4. Add a File Output node at the end and connect it.

Building the flow on the canvas: drag nodes from the palette, connect them in order, and auto-arrange the pipeline

Each node has a config panel on the side. As you edit a node, the live preview updates on a sample of your data, so you can check each step before you run anything. The Interface Tour covers the layout, and the Transformations Reference covers every node.

3. Run the flow

Click Run. Ciaren executes the whole pipeline on the engine selected in the toolbar (pandas for a new flow), writes the output file, and records a run with status, logs, and per-node results (row/column counts and a sample).

With the sample sales.csv, the output has two rows: North with 120.5, and an empty region with 80, because rows with a missing key form their own group.

Open the run from the Runs page to inspect each node and download the output.

4. Export Python

Click Export. Ciaren returns standalone, readable code for your flow, including polars, pandas, and lazy polars variants where available. Paste it into a script or a Jupyter notebook and it runs on its own, no Ciaren required.

5. (Optional) Schedule it

To run the flow automatically, click Schedule and set a frequency and timezone. The built-in scheduler handles retries, catch-up, and overlapping runs. See Scheduling.

Prefer the API?

Everything above is also available over REST. Explore it in the interactive docs at http://localhost:8055/docs.

bash
# 1. Upload a dataset (note the returned id)
curl -F "[email protected]" http://localhost:8055/api/datasets/upload

# 2. Inspect it
curl http://localhost:8055/api/datasets/{dataset_id}/schema
curl http://localhost:8055/api/datasets/{dataset_id}/sample

# 3. Create a flow: {"name": "Sales", "graph_json": {"nodes": [...], "edges": [...]}}
curl -X POST http://localhost:8055/api/flows \
  -H "Content-Type: application/json" -d @flow.json

# 4. Preview, then run (optionally choose an engine)
curl -X POST http://localhost:8055/api/flows/{flow_id}/preview \
  -H "Content-Type: application/json" -d '{"limit": 50}'
curl -X POST http://localhost:8055/api/flows/{flow_id}/runs \
  -H "Content-Type: application/json" -d '{"engine": "polars"}'
curl http://localhost:8055/api/runs/{run_id}

# 5. Export Python (returns pandas, polars, lazy polars, and a portable .flow document)
curl -X POST http://localhost:8055/api/flows/{flow_id}/export/python

The flow graph format (node types, data.config, and edges) is described in the Transformations Reference and the REST API Reference.

Next Step

Continue to Demo Project & Tutorials to follow four ready-made flows step by step, from a linear cleanup to a three-input join.

Other places to go from here: