← All integrations

Data & Storage · Integration

Embed a JDBC integration in your product

Add JDBC to your product for your customers, and give your AI agents governed access to it.

Embed a JDBC integration so your customers can point your product at their own relational database instead of exporting files to you. Schemas differ per customer and change without notice, so table and column mapping is configuration rather than code and a change on their side does not need a release on yours. fastn handles per-tenant credentials, connection management, pagination, and throttling, so a large read does not overwhelm a customer's database.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let customers connect their own database so your product reads the tables it needs with no export step.
  • Read table and column metadata at runtime so your product adapts to each customer's schema.
  • Run parameterised queries per tenant and page through large result sets without custom code.
  • Write rows back into a customer's table when a record changes in your product.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent queries a customer's database to ground an answer in their own data.
  • An agent inspects a schema before it writes, so it maps to the columns that actually exist.
  • An agent writes or updates rows within governed permissions, with every statement logged per tenant.

Example prompt

List the tables in this schema, then show me rows added to the orders table in the last 24 hours.

Set up JDBC in 4 steps

  1. 01Open the JDBC connector from your fastn dashboard.
  2. 02Have each customer supply their own connection details and least-privilege database credentials.
  3. 03Map the schemas, tables, and columns your product may read or write, then enable actions.
  4. 04Call them from your product, or expose them to an agent through the MCP server.

Why teams use the JDBC integration

  • Ship a JDBC integration without building it. Your customers point it at their own endpoint and credentials and work their records, datasets and fields through it, and nothing lands on your team.
  • Handle the part that actually costs time: schemas differ per customer and change without notice, and volumes can be large. fastn handles the auth, token refresh, rate limits and pagination, and when JDBC changes, its maintainer agent proposes a tested fix, so a JDBC update does not start in your backlog.

Used by these teams

JDBC integration FAQ

How is a JDBC integration configured per customer?

JDBC is a specification rather than a service you sign up for, so there is no JDBC account. Each customer supplies their own endpoint and credentials, and that integration is scoped to them, so they only ever reach their own records, datasets and fields.

Can AI agents use this JDBC integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent queries a customer's database to ground an answer in their own data. For example: "List the tables in this schema, then show me rows added to the orders table in the last 24 hours."

Does the JDBC integration adapt when a customer's schema changes?

Schema and field mapping is configuration per customer, so a change on their side is a mapping update rather than a code change and a release on yours.

How are large JDBC reads handled?

Pagination and throttling are handled for you, and initial backfills are rate-limited so a large import does not exhaust a customer's API allowance.

What can I build with the JDBC integration?

A common starting point: connect their own database so your product reads the tables it needs with no export step. The use cases above list the rest.

Add JDBC to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.