Skip to main content
Guide
A connection is a source Foundry reads, such as a Stripe account or a PostgreSQL database. Each sync copies its tables into a snapshot that generations and loads read, and Foundry syncs every connection on a schedule. Owners and admins add, sync, edit and delete connections; members see them.

Connect Stripe, test the key, sync it and open a table.

The Connectors section

Connectors, in the sidebar, holds the workspace’s connections, API sources and documents. The Connectors explorer, a panel beside the sidebar, lists them as a tree; the page beside it shows what you open. Connectors itself is an overview: how many connections, tables, records, documents and document sets the workspace has, a grid of its connections with their status, tables, records and last sync, and its document sets with the ontologies that read each one. Select a connection’s row to open it.
The Connectors overview with its totals, a grid of the Stripe and Shop database connections, and the General and Board minutes document sets, beside the Connectors explorer

The Connectors explorer

The explorer’s tree has, at its root:
  • a folder per kind of connection the workspace has, such as Stripe or PostgreSQL, holding those connections;
  • folders of your own, each holding the connections moved into it;
  • Documents, with a folder per document set holding its documents.
Select a connection to open its page, or a document to open its page. A connection’s dot shows its last sync’s status, and its arrow opens its synced tables. Filter narrows the tree to what matches, tables included. The row of the page you have open is highlighted, and the folders holding it open. The tree works from the keyboard: the arrow keys move between rows and open and close folders, Home and End go to the first and last rows, Enter opens a row, and F2 renames it.

Make a folder, move a connection into it, upload a document and open it.

Arrange the explorer

Owners and admins arrange the tree for the whole workspace; everyone sees the same order and names, and members can’t change them.
  • Rename a folder, connection, document set or document with the pencil beside its name, or F2 on its row. Enter saves and Escape cancels. Renaming a kind’s folder or Documents changes only the folder’s name.
  • Reorder a row by dragging its grip, or select the grip for Move up and Move down. A connection’s grip also has Move to…, to move it into one of your folders or back to its kind’s, and a document’s has Move to another set….
  • New folder, in the explorer’s head, makes a folder of connections at the root. Drag connections into it, or move them from their menus. Folders hold connections only, and don’t nest.
  • Delete folder, from a folder’s grip, sends its connections back to their kinds’ folders. Nothing else changes.
The Connectors explorer with a connection's grip menu open: Move up, Move down and Move to…
Rows can’t be moved while a filter is on. Sync, and a document set’s upload, describe and delete buttons, show on a row while you point at it or it has the focus.

Add a connection

1

Choose the source

Select Add data on the Connectors overview, or + in the explorer’s head, then choose where the data is: an app, a database, files in Amazon S3, or an API source your app or agent sends data to. A tick marks a kind the workspace already connects; you can add another. Every plan offers every kind.
The Where is your data? picker with Stripe, WorkOS, PostHog, GitHub, Linear, Cal.com and Granola, then PostgreSQL and MySQL, Amazon S3, and API source
2

Create a read-only credential

Follow the numbered steps above the form. They link to the place in the source where you create the key or user, and say which read permissions to give it. Connectors lists them for every source.
The Stripe form with its three numbered steps above the Restricted API key field
Under Connection options you can name the connection; databases also choose their encryption there.
3

Test the connection

Select Test connection. Foundry reads the source with the credential and lists what it can read: each table with its key and its links to other tables. Anything the credential can’t read is named below the list and is skipped. For a database or S3, choose the tables to sync here. Every table starts selected, and keeping them all also syncs tables added later; at least one must stay selected.
A successful Stripe test listing the objects the key can read with their keys and links
4

Connect and sync

Select Connect and sync. Foundry stores the credential encrypted, opens the connection’s page and queues its first sync. The connection joins its kind’s folder in the explorer.
An agent connected through the Helix MCP can’t add a connection itself: it gives you a link that opens this form for the kind you asked for, so credentials never pass through the agent.

Follow a sync

A connection’s page shows its status, its recent syncs and its tables. A sync is Queued, then Syncing, then Synced or Failed; the page follows it as it runs. An attempt that fails for a passing reason runs again a minute or two later, shown as Retrying, up to three attempts. When a sync fails, the page says why above its history.
A synced Stripe connection with its recent syncs, details and table cards
A table that finished keeps its new snapshot even if a later table fails. A connection runs one sync at a time. While one runs, its settings can’t change and it can’t be deleted.

Syncs on a schedule

Foundry syncs every connection on its own, as often as the workspace’s plan says: Reading only what changed uses what each source can tell: Stripe’s and WorkOS’s events, records updated since the last sync, or new files in S3. A daily full read catches what those can’t see, such as deleted records. PostgreSQL and MySQL tables, and any table without a primary key, are read in full each time and compared with the last snapshot. A Stripe key needs Read on Events for this; without it, every sync reads every table in full, and the test says so. You can also sync at any time: select Sync now on a connection’s page, or Sync on its row in the explorer. A connection also syncs after you change its settings. An API source syncs about a minute after pieces arrive, on every plan. When a sync changes tables an ontology’s current load reads, the ontology refreshes by itself.

Read a synced table

Select a table to see its columns, its primary key, the columns that point at other tables, the columns in other tables that point at it, and when its snapshot was taken. An app’s columns are the fields found in its rows, without types.
The customers table with its columns, primary key, foreign keys and referencing columns

Edit or delete a connection

Open the ⋯ menu on a connection’s page:
  • Edit connection changes its settings or credential. Foundry tests the new settings before it saves them, and syncs again when they changed. Leave the credential blank to keep the stored one. To change which database tables sync, enter the password and test the connection again.
  • Delete connection stops syncing it and removes its tables from the workspace’s data. The source itself is not changed.
Foundry never shows a stored credential again. An API key is named by its prefix and last four characters, such as rk_live…Qx7m; a database shows that a password is set.

Next steps

Connectors

What each source needs, and what it syncs.

Documents

Upload contracts and notes into document sets.

Generate an ontology

Draft an ontology from your synced tables and documents.

Workspaces and navigation

The sidebar, the panels and search.