All docs
Docs
Getting Started

Connect an existing database in 15 minutes

Create a least-privilege source user, connect Postgres/MySQL, inspect schema, import selected tables, generate a capability, bind SESSION values, invoke it, and inspect evidence.

Overview

Use this path when you already have a Postgres or MySQL app and want an agent-safe read workflow without migrating data.

The current public connector path is live-read: Synapsor reads selected rows/columns from your existing database at capability runtime through least-privilege credentials. It does not copy your whole database.

For writes, keep the read connector read-only. Synapsor stages approved proposals; your backend worker applies them later with a separate write credential.

Do not connect your most sensitive production database first. Start with staging, a read-only replica, or safe views that expose only the rows/columns an agent workflow needs.

Developer notes

  • Use a read-only user and safe views first.
  • Require SSL/TLS for remote databases.
  • Import only the columns the agent workflow needs.
  • Bind tenant_id, principal, and object ids through SESSION/HIDDEN values.
  • Inspect evidence and query audit before adding proposal writeback.
  • Use live-read mappings today; CDC/mirrored subsets are private preview/hardening work and are not customer-production supported.