Quick Start
From a running stack to a successful pipeline execution in about 15 minutes, using the sample data that ships with the platform.
This guide uses object mode (the recommended backend) - the stack runs with RustFS object storage, so the sample data is uploaded through the API. If you haven't started the stack yet, follow Installation first. In shared mode the sample data is already bind-mounted and outputs also land on disk under data/outputs/.
1. Start the stack
Code
Wait until the API is healthy:
Code
2. Get an access token
Every /api endpoint requires a Bearer JWT from the configured OIDC identity provider. The easiest ways to get one:
- Log in through the product UI (its base URL is configured as
APP_UI_BASE_URL, defaulthttp://localhost:5173), or - Request one from your identity provider for the API audience (
OIDC_AUDIENCE). Machine-to-machine calls use the OAuth 2.0 client credentials grant:
Code
By default the platform runs in invite-only mode and rejects unknown users. To bootstrap your user, set SECURITY_SUPER_ADMIN_EMAIL to your email before starting the app, or set SECURITY_USER_PROVISIONING_MODE=AUTO_PROVISION for frictionless local use. Verify your access with GET /api/me - it lists your roles and permissions.
3. Upload the sample data and run the pipeline
From the repository root, upload the bundled sample CSV, then create and run the sample pipeline in a single call - the spec reads sample-data/csv/orders.csv, enriches it, and writes Parquet:
Code
Response - 202 Accepted:
Code
4. Watch the run
Runs are asynchronous. The app reconciles status with Spark every 30 seconds; while a run is RUNNING you can poll the runs list and follow the driver logs:
Code
Read status from the runs list - the single-run endpoint is not implemented yet. While a run is RUNNING, poll every 3-5 seconds with a tail; when it reaches a terminal status (SUCCESS, FAILED, or CANCELLED), stop polling and fetch the final logs once. A running job can be stopped with POST .../runs/$RUN_ID/kill.
You can also watch the job live in the Spark Master UI at http://localhost:8085, or the container with docker logs -f pipeline_app.
The run finishes with status SUCCESS (or FAILED - the logs endpoint tells you why).
5. Check the output
The sample spec writes Parquet under gold/. In object mode outputs live in RustFS - browse them through the API or the RustFS console at http://localhost:9001:
Code
In shared mode the files are also on disk at data/outputs/gold/01_00_orders_parquet_example_cluster/.
To download a file: GET /api/storage/outputs/download?path=..., or generate a short-lived download link with POST /api/storage/outputs/download-link.
What just happened
- The app validated the spec, created the pipeline and a
PENDINGrun, and submitted the job to the Spark master over its REST API - The Spark driver ran the engine: read the CSV, cast columns, derived
total_price, and wrote Parquet - The driver reported run + stage status straight to PostgreSQL; the app reconciled it to
SUCCESS - Per-stage status and row counts come from
GET /api/pipelines/{pipelineId}/runs/{runId}/stages; per-stage lineage data is atGET /api/pipelines/{pipelineId}/runs/{runId}/stages/{stageName}/lineage/data
Next steps
- First Pipeline - write your own spec end-to-end
- Core Concepts - the full spec model
- Pipeline Spec Overview - every source, transform, and destination type
- API Reference - the complete REST surface