Skip to content

Quickstart

This guide walks through the whole path: create a workspace, connect two data sources, define a reconciliation job, trigger a run, and fetch the results. Pick one tab and follow it straight through — each step builds on the IDs from the one before it.

All examples assume DATARECS_API_KEY is set (for the CLI and REST tabs) and that you’re targeting https://api.datarecs.io (the default).

  1. Log in to the DataRecs Console.
  2. Click New Workspace from the workspace selector.
  3. Enter a name and click Create.

Note the returned id — every following step needs it as workspace_id.

A reconciliation job compares exactly two sources, so create one connection per source. This example uses Postgres for both; credentials is a flat object whose shape differs by connector type — see Creating a connection for every type.

  1. Navigate to Connections in the sidebar.
  2. Click New Connection.
  3. Select your database type, enter credentials, and click Test & Save.
  4. Repeat for the second source.

Note both ids — you’ll reference them as connection_id in the job below.

A job needs, at minimum, one dimension, one measure, the two connections (with column mappings), and one stage. This example counts rows per region:

  1. Navigate to Jobs and click New Job.
  2. Pick your two connections, map their columns to shared dimension/measure names, and add a stage.
  3. Save.

Every field here is explained in full in Configuring a Reconciliation Job.

Terraform manages job definitions, not one-off runs — trigger from the Console, CLI, or REST API:

Open the job and click Run now.

Note the returned run_id.

Open the run from the job’s run history to see the summary and any mismatched rows.