# Connectivity

Source: https://docs.formance.com/v4.0/modules/connectivity

Stack: v4.0

Connectivity reads activity from the external systems you rely on, such as banks, payment providers, exchanges, and cloud platforms. It records that activity in Formance Ledger as accounts, transactions, and metadata. The [Connector Catalog](https://docs.formance.com/v4.0/modules/connectivity/connectors) lists the systems you can connect and what each connector covers.

Two terms appear on every page:

- A **connector** is the integration for one part of a provider. A provider can have several. Stripe Payments and Stripe Connect, for example, are separate connectors.
- A **connection** is a connector running with your credentials and settings. It reads the provider accounts you select and records their activity in one ledger.

```mermaid
flowchart LR
  P["External provider<br/>the accounts you select"] -->|reads, never writes| C
  subgraph Conn["Connection"]
    C["Connector<br/>+ your credentials and settings"]
  end
  C -->|records| L["Your destination ledger"]
```

To see records arrive in a ledger, [set up a connection](https://docs.formance.com/v4.0/modules/connectivity/get-started) with test data. To see the flow first, watch [From Provider to Ledger](https://docs.formance.com/v4.0/modules/connectivity/from-provider-to-ledger).

## Why record provider activity in Ledger

Every provider describes its activity differently. Identifiers, statuses, and payload formats vary from one provider to the next, and they change over time. One business event can also produce several records. A single card payment can mean a charge, a processing fee, and funds that stay pending before they become available.

Connectivity turns those records into [Ledger](https://docs.formance.com/v4.0/modules/ledger/get-started/overview) entries: consistent [accounts](https://docs.formance.com/v4.0/modules/ledger/modeling/account-types), atomic [transactions and postings](https://docs.formance.com/v4.0/modules/ledger/transactions/create-with-postings), and metadata that points back to the source. The provider remains the authority on what happened on its side. Ledger holds your internal record of the activity the connector covers.

## What a connector records

A connector is versioned. Each version defines which provider records it reads, how provider identities map to Ledger accounts, which records produce postings, and which provider details it keeps as metadata.

Not every record moves money. Depending on the connector, a record can be a financial movement, a measured quantity such as compute time, or a status change such as a payment going from pending to succeeded.

Connectors do not share one generic model. Each is built around its provider, so a bank statement line, a card capture, and a cloud usage record keep their own units and timing.

[What Connectivity Models](https://docs.formance.com/v4.0/modules/connectivity/what-it-models)

How accounts, transactions, and metadata represent provider activity, and how a balance the provider reports compares with the balance Ledger builds.

## How a connection runs

You choose a connector from the catalog, give it access to the provider, and name the ledger it writes to. The connection then keeps reading new activity and recording it.

The connection saves its progress only when Ledger has accepted the records, so it can stop and resume without skipping or duplicating anything. [How Connectivity Works](https://docs.formance.com/v4.0/modules/connectivity/how-it-works) covers retries, restarts, and upgrades.

[From Provider to Ledger](https://docs.formance.com/v4.0/modules/connectivity/from-provider-to-ledger)

Watch one connection read a provider's activity and record it in Ledger, stage by stage.

[How Connectivity Works](https://docs.formance.com/v4.0/modules/connectivity/how-it-works)

Checkpoints, retries, and what happens when you restart or change a connection.

[Connector Catalog](https://docs.formance.com/v4.0/modules/connectivity/connectors)

Find your provider and check its coverage, Ledger model, configuration, and release history.

Check coverage first

Every catalog entry lists what the connector supports and what it does not. Read both lists against the provider products and payment states you depend on.
