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 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.
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.

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.

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.
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.

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.
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.
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.
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.
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.