Ask questions of your MySQL data

Foundry reads the tables you choose from a MySQL database, PlanetScale included, and joins them with your other systems in one ontology you can query in plain English.

What Foundry reads from MySQL

The tables you choose, or every table in the database, read with a user that has SELECT only.

Questions you can ask

  • “Which customers placed an order this week but have an open support ticket?”
  • “What is the total order value by product category this quarter?”
  • “Which accounts have not logged in since their trial ended?”

From tables to a graph

How MySQL becomes part of your graph

Each table you pick becomes a type, and the IDs tables share become links. A customer row is matched with the same customer in your other connectors on the keys they share, such as an email or an external ID.

  1. Sync. Foundry keeps its copy of your data up to date, syncing more often on paid plans.
  2. Draft. The ontology agent drafts types, links and rules from your data and your goal. You review and edit it.
  3. Load. A load writes it into HelixDB, and every value keeps its source: a table row, or a quote in a document.
  4. Ask. The Analyst answers questions with the queries it ran and a source for every claim, and on Helix Cloud your agents can query it through the Helix MCP.

Setup

Connect MySQL

  1. Create a read-only user: CREATE USER 'foundry'@'%', then GRANT SELECT on the database.
  2. In Foundry, open Data, click Add data and choose MySQL.
  3. Enter the host, port, database, user and password, and keep TLS on.
  4. On Helix Cloud, allow Helix's outbound address to reach the database; the setup guide lists it.
  5. Test the connection, pick the tables to sync, and connect.