
# MDM

MDM is a master data hub for finance teams. It keeps **one golden record** for each vendor (or any other entity you define), records **every change** to it, and checks whether the **other apps that hold a copy still match**.

To start, follow the [Quick Start](/docs/guide/quick-start) in the web app, or use the [`fob-mdm` CLI](/docs/cli) from a terminal or an AI agent.

## The problem

The same vendor lives in several systems at once: your ERP, the purchase-order tool, the payments platform, accounting, a spreadsheet or two. Each keeps its own copy with its own id and its own values. Sooner or later:

- **Nobody knows where to update a vendor's bank details.** In the ERP? In the payments tool? Both?
- **Three systems show three different IFSC codes**, and whoever pays the invoice has to guess which is right.
- **Nobody can tell whether everything is still in sync** without comparing the systems by hand. By then a payment may already have gone to a stale account.

## What MDM answers

| Question | How MDM answers it |
|---|---|
| Is this the same vendor? | Records from different apps are linked through an **identity field**, such as GSTIN |
| What's the true value? | The **golden record** in MDM holds the agreed value for each field, with its full history |
| Is every app still matching? | **Conformance** compares each connected app's value with the golden one and flags drift |

## How it works

1. **Define your objects and fields.** An object is a kind of record, such as Vendor. Its fields (name, GSTIN, bank IFSC, email) are set up per organization, with no fixed schema. See [Objects and Fields](/docs/concepts/objects-and-fields).
2. **Keep golden records.** Each record holds one value per field. Every edit is appended to the record's history: old value, new value, cause, who made it and when. See [Golden Records](/docs/concepts/golden-record).
3. **Edit in the hub, not in the apps.** MDM is the source of truth. When an app's copy differs, the app is wrong and is corrected toward the golden value. See [Hub-First Editing and Conformance](/docs/concepts/hub-first-and-conformance).

## What's available today

> **Early release:** MDM is in early development. Not everything described in the concepts is in the app yet.

| Capability | Status |
|---|---|
| Objects and fields per organization, including identity fields and retiring fields | Available in the app |
| Golden records: create, edit values, read the full change history | Available in the app |
| A connected app's value next to each golden value, with mismatches in red | Available in the app |
| Connecting apps and linking their records on the identity field | Through the [API](/docs/api/endpoints/integrations) and [CLI](/docs/cli/integrations), with simulated apps |
| Conformance contracts, checks and fixes | Through the API and CLI ([guide](/docs/guide/conformance-loop)), with simulated apps |
| [REST API](/docs/api/authentication) for everything above | Available |
| [`fob-mdm` CLI](/docs/cli) and [JavaScript client](/docs/cli/client) for everything above | Available: `npm install -g @finopsbricks/fob-mdm` |
| Screens for connecting apps and conformance | Coming |

## Next steps

- [Quick Start](/docs/guide/quick-start): set up a Vendor object and your first golden record in a few minutes
- [Golden Records](/docs/concepts/golden-record): what a golden record is and why history matters
- [Command-line Interface](/docs/cli): do it all from the terminal with `fob-mdm`
