Customer Data Onboarding: Three Systems to One Account Ontology

Onboard a customer's three systems into one trusted account ontology as a forward deployed engineer: scope the decision and its owners, declare an OAuth API, a SQL replica and SFTP files to dlt, standardise and link records with no shared key using Splink, measure the matcher against labelled pairs with honest intervals, model the ontology in SQLMesh, gate it with Soda contracts, trace numbers with OpenLineage and Marquez, publish Metabase dashboards from code, reconcile to the penny and hand over.

Forward Deployed Engineer. Advanced.

What you will build and explain

  • Scope a data onboarding engagement from the decision it serves: owners, a testable acceptance boundary and a field-level data and permission contract.
  • Declare an OAuth REST API, a SQL replica and SFTP file drops to dlt so a second run loads only changes and corrections keep their history.
  • Standardise names, postcodes, phones and emails so records from different systems become comparable, and test the rules.
  • Build, train and run a probabilistic record linkage model with Splink, choose blocking rules from their pair counts and derive stable account identifiers.
  • Evaluate a matcher with precision, recall and intervals on a labelled sample and choose a threshold and review band with the business owner.
  • Model an ontology with provenance in SQLMesh, change it in a virtual environment and promote it without recomputation.
  • Gate a pipeline with Soda data contracts and SQLMesh audits, and trace a dashboard number to its rows and run through Marquez.
  • Publish dashboards and permissions from code, keep personal data out of them, reconcile to the source and hand the pipeline over.

Before you begin

  • Read and write Python functions and SQL with joins, GROUP BY, CASE and a CTE; read a traceback.
  • Use a terminal, call a REST API with curl, read YAML, and run containers with Docker Compose.
  • Record linkage, dlt, SQLMesh, Soda contracts, OpenLineage, Marquez and Metabase are taught from their first ideas.
  • A machine with Docker (Compose v2.33+), 8 GB of memory and 10 GB of free disk for Docker; x86-64, or Apple Silicon with amd64 emulation enabled.

Who this is for

For engineers who write Python and SQL with joins and CTEs and run containers with Docker Compose, and want to onboard a customer's data end to end: an API, a database replica and SFTP files declared as sources, records with no shared key linked into one account with measured accuracy, an ontology modelled and gated by contracts, every number traced to its source and the pipeline handed to the customer's team.

Curriculum

Learning topics (17)
  1. Understand the engagement and prepare one machine for the lab

    Before the first command, three things are worth knowing: what the engagement is for, what the lab asks of your machine, and how the lab pretends time passes. This lesson settles all three and gives you a readiness check for each ability the project assumes.

  2. Follow one firm from three systems to one account

    Marrowgate's facts about a trading customer live in three systems that share no key: the sales team's CRM, the ERP's customer ledger and the service desk's nightly ticket exports. The engagement delivers one account ontology, a set of warehouse tables where each real firm appears once with every order, invoice, receipt and ticket attached, its origin recorded to the row, and a risk score the credit controller can read and change. This page explains the parts that make that ha

  3. Establish the decision, its owners, the acceptance boundary and the data contract

    A data onboarding engagement fails most often before any code: the engineer builds a beautiful "customer 360" that nobody's Monday depends on. This lesson is the week-one work that prevents that: finding the decision, naming who owns it and who accepts the result, writing a boundary the customer can test, and agreeing which data may be taken and who may see it. The documents live in source/engagement/; this lesson explains why each exists and how to write one.

  4. Declare three customer sources with dlt: cursors, merges and history

    The data and permission contract names three sources that could hardly be more different: an API with tokens and pages, a SQL replica, and CSV files on an SFTP server. The first instinct is to write three clients. This lesson is about not doing that: with dlt (data load tool) each source becomes a declaration of where the records are, how to page through them, which field says "changed since", and how to write them, and the same machinery gives all three incremental loading,

  5. Standardise names, addresses, postcodes, phones and emails before matching

    The same roofing firm is Hadley Roofing Ltd in one ERP number, T/A HADLEY ROOFING LIMITED (Marrowgate) in another, Hadley Roofing Svcs in the CRM and hadley roofing on the desk's tickets. Its postcode is MG3 4QP, MG34QP and mg3 4qp; its phone 01452 884120, (01452) 884120 and +44 1452 884120. No matcher can work on those strings as they are, and a deterministic rule on them finds almost nothing. Standardisation is the step that makes "the same field" mean the same thing from e

  6. Probabilistic record linkage with Splink: the model, blocking and training

    After standardisation, two of the roofing firm's records agree on everything and two agree on the name but not the postcode, while a plumber across the road agrees on the postcode and half the name. A rule ("same name and postcode") handles the first pair and gets the other two wrong in opposite directions. Probabilistic record linkage replaces the rule with a model that weighs each field's agreement or disagreement by how much evidence it carries, learned from the data itsel

  7. Evaluate the matcher: precision, recall, the threshold and the spike

    A matcher that is not measured is an opinion. The finance director will not put a firm on hold on an opinion, and should not. This lesson is the spike that was planned in week two: a labelled sample, the metrics that say how good the model is on it, the honest intervals a small sample allows, the comparison with the deterministic rules, and the decision the credit controller makes from the numbers. Milestone 6 runs it; the decision memo is rendered from the results.

  8. The review band: stewards, overrides and labels

    The model will always have pairs it cannot decide, and some it decides wrongly. What makes the ontology trustworthy is not a perfect matcher but a person with the authority to decide, a tool that records the decision with its reason, and a pipeline that applies it next time and learns from it. That person is the data steward, here the analyst who used to build the spreadsheet. This lesson is their workflow and the mechanics behind it. Milestone 7 runs it.

  9. Model the account ontology with SQLMesh: plans, environments and virtual updates

    The clusters say which records are one firm. The ontology is where that becomes something a credit controller can use: one row per account with the ERP numbers behind it, its balances, its tickets, a risk level computed from rules they can read, and, on every row, where it came from. This lesson is about the models that build it and the tool that runs them, SQLMesh, whose plans and environments are how a model change reaches production without surprising anyone. Milestones 4

  10. Gate promotion with Soda contracts and SQLMesh audits

    One night the support partner's export renames a column. Without a gate, the next run loads tickets with no company name, derives no desk organisations for the day, links nothing to them, and the Monday dashboard quietly shows fewer complaints. With a gate, the run stops at the raw layer, names the check, and the dashboard shows last week until a person decides. This lesson is the gate: Soda data contracts at the boundaries, SQLMesh audits inside, and the order the weekly run

  11. Lineage with OpenLineage and Marquez: trace a number to its rows

    "Where did this number come from?" is the question that decides whether a customer trusts a dashboard. The honest answer names the table the number was read from, the job that wrote that table, the tables it read, and so on back to the source, with the run that did each step. Lineage is that answer kept as data. This lesson teaches the OpenLineage model, how every stage of the pipeline reports itself, how Marquez turns the reports into a graph, and how onboardctl trace walks

  12. The decision surface: Metabase from code, permissions and reconciliation

    The credit controller does not read tables. They open Accounts at risk on Monday morning and act. This lesson is about getting from the ontology to that screen in a way that survives the engineer leaving: dashboards created by code rather than by clicking, a reader whose permissions keep personal data out, and a reconciliation that proves to the finance director that the numbers are the ERP's. Milestone 11 runs it.

  13. Hand it over: runbook, steward workflow, acceptance checklist and outcome measures

    The engagement is over when Marrowgate runs the pipeline without you, decides from it, and can say what changed. That is three handoffs: to the IT manager (the weekly run and what to do when it stops), to the steward (the review band), and to the finance director (the measures). This lesson is how each is written so it survives, and how acceptance is run rather than declared. Milestones 12 and 13 run and remove the lab.

  14. Run the lab end to end

    Thirteen milestones, in order, each leaving the lab in a state the next one builds on. Every command runs on your machine in a terminal, from the source/ folder of your checkout, unless a step says otherwise. Nothing here creates a cloud resource or costs money; the price is disk, memory and about two evenings.

  15. Diagnose the lab when it misbehaves

    Each scenario opens the way an interviewer would: a symptom, what has been observed, and the question "what would you check?" Answer it yourself before reading on. The answers model the reasoning: clarifying questions first, competing explanations, checks in an order that rules them out, then the correction, how to confirm it worked and how to prevent it. The scenarios are written for practice and most can be reproduced in the lab; they are not reports of real incidents.

  16. Explain the engagement in an interview

    Answer aloud before reading the model answer, and be ready to defend a decision when the interviewer changes a constraint. These are original practice questions written for this project, not a list from any employer or a prediction of a particular interview.

  17. Remove everything the lab created

    Everything the lab created lives on your machine and carries the Compose project label cdo. This runbook removes it in an order that keeps what you want, proves nothing is left, and says what remains on purpose. Run every command from the source/ folder of your checkout.

Practical build steps (13)
  1. Prepare the lab

    Nothing runs yet. This milestone checks the machine, generates the secrets the lab will use, and builds the three images that are not pulled from a registry. It starts from the source folder made into a Git repository (the runbook's "Get the Source") and ends with a quiet host and a checkout that knows its own passwords.

  2. Start the customer systems

    This milestone brings up the whole stack and then creates Marrowgate's world: the ERP replica's tables, the CRM mock's records and twenty-nine nights of desk exports, all from one seed.

  3. Ingest the three sources

    The first load, a second load that brings nothing, and a third after the clock moves: this milestone shows what declaring a source to dlt buys you.

  4. Standardise and build the canonical layer

    The raw tables become staging.organisations (one shape for the three sources), the canonical tables (typed orders, invoices, receipts, tickets, sites, customer history) and an ontology that is still empty, because nothing has been linked.

  5. Link the organisations with Splink

    Blocking analysis, then training, prediction and clustering, then the same run again to prove the account identifiers are stable. This is the milestone where three systems' records become accounts.

  6. Evaluate the matcher and choose the threshold

    The spike's measurement: precision, recall and F1 at eleven thresholds against the analyst's labels, with intervals; the deterministic rules on the same labels; the error listings; and the decision memo rendered from the numbers.

  7. Work the review queue as the steward

    One confirmation, one rejection, a link that applies them, and one reversal. The steward's hour, compressed.

  8. Change a model in dev, verify it, promote it

    A deliberate change to a standardisation rule travels from an edit, through a dev environment and the contracts, to production, without production being recomputed.

  9. Ingest the drift day and stop it at the gate

    Day 31's desk export renames company to organisation. This milestone runs the whole week against it and watches the gate do its job.

  10. Trace a number through Marquez

    Every stage reported what it read and wrote; Marquez has joined the reports into a graph. This milestone reads the graph two ways: in the browser and from the terminal.

  11. Publish the decision surface and reconcile

    Three dashboards created from code, a viewer who cannot reach the personal data, and the proof to the penny that the numbers are the ERP's.

  12. Run the week and the corrections

    Day 32 brings corrections (a firm's spelling fixed to its legal name, status changes) and new orders. This milestone runs the whole week with one command and reads the record it leaves.

  13. Remove the lab

    Everything the lab created is labelled with its Compose project, so one command removes it and one check proves nothing is left.

Access

Learning Access: INR 199 plus 18% GST. Source Pack: INR 399 plus 18% GST. 90 days of online access. No auto-renewal.

Cloud costs and boundaries

Runs entirely on your machine with Docker Compose: about 3.5 GB of container images and a synthetic customer generated locally from a seed. The CRM, ERP and service desk are local simulations, so no cloud account, API key, payment method or hosted lab is used or included. The lessons' numbers were measured on a 4-CPU x86-64 virtual machine; reproducing them on cloud hardware is optional and would be paid to that provider. Running the optional CI workflow uses your own GitHub Actions minutes.

Licence and completion

Vectametric Project Source Licence (2026-09-27): lawfully obtained source may be copied, modified and deployed for personal learning and interview preparation, including personal portfolio demonstrations with attribution. These permissions continue after online access expires. Do not resell or redistribute the Source Pack or its original source files, unchanged or modified. Commercial or client production use requires separate written permission. Packages and container images downloaded when building or running, such as dlt, Splink, DuckDB, SQLMesh, Soda Core, OpenLineage, Marquez, Metabase and PostgreSQL, retain their own licences. See LICENSE.txt and the Project Source Licence section of the site Terms for the full rules.

Questions about projects

Do I need a cloud account?

You can read the project material without deploying it. Running a cloud build requires the accounts, permissions and tools listed in that project's prerequisites. Deployment runs in your environment, not in a hosted Vectametric lab.

Can I read the code with Learning Access?

Yes. Learning Access includes the online source-file browser and explanations. The Source Pack adds the downloadable reference repository where available. The project's licence governs use of the source.

Are cloud charges included?

No. Cloud and CI usage are separate. Read the project's cost notice, set a budget and stop deadline, and follow its destruction and leftover-resource checks.

Does the project include troubleshooting and interview preparation?

The project curriculum lists the available scenarios and interview topics. These focus on understanding the architecture and explaining decisions; they are not a promise of particular interview questions or a job.

How long can I use the project?

The project page and checkout show the online access period for your selected plan. Access does not auto-renew. Downloaded source remains subject to its licence; future releases are not automatically included.

Review the Terms and No-Refund Policy before confirming access. All sales are final; Vectametric does not offer refunds.

This website is operated by VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED, operating as Vectametric.

Corporate Identity Number (CIN): U85499KA2026OPC229822. GSTIN: 29AAMCV8281D1ZS. Registered office: RS NO/38/2A/1 BASTAND, ROAD MAHANTESH NAGAR, Ramdurg, Ramdurg, Belgaum- 591123, Karnataka.

Queries and grievances: Prajval Honnungar, Grievance Officer and Data Protection Contact.

Telephone: +91 94800 09310. Support: support@vectametric.com. Grievances: support@vectametric.com.

Copyright 2026 VECTAMETRIC EDTECH (OPC) PRIVATE LIMITED. All rights reserved.

Vectametric home · Roadmaps · Vecta IT Exams · Vecta Government Exams · Vecta Banking & Finance Exams · Vecta Entrance Exams · About us · Contact · Privacy Policy · Terms and Conditions · No-Refund Policy