Naxis Technologies Docs
Live demo

Databases & CRM

Set up a SQL database (PostgreSQL, MySQL, SQL Server)

Connect a SQL database — PostgreSQL (including Supabase), MySQL / MariaDB, or Microsoft SQL Server — read with a read-only role. It works out the shape of your data from the schema itself: which tables are your customers, invoices and contracts, and how they relate. Each becomes a record the assistant reasons over alongside your documents — “what do we know about this client”, “how much have they been invoiced” — with the figures totalled exactly from the data. Nothing is ever written.

Before you start

  1. Documents → SQL database → choose the database type: PostgreSQL (and Supabase), MySQL/MariaDB, or SQL Server — Amazon Redshift speaks the PostgreSQL dialect, so choose PostgreSQL for it.
  2. Supabase: paste the connection string into Connection string (advanced) and skip the fields below it.
  3. Any other database: fill in Host, Port (blank uses the engine's default — 5432 / 3306 / 1433), Database, Username and Password; set Schema only if your tables live outside public or dbo, and SSL mode to Require for anything hosted.
  4. Optionally narrow with Only these tables or Skip these tables — blank reads the whole schema.
  5. Choose access groups, Test, then Sync.
The Set up SQL database dialog with database type, host and credential fields.
The SQL database form — engine, address and a read-only login are all it takes.

What comes in

SchemaThe named group of tables to read — blank means public on PostgreSQL, dbo on SQL Server; not used on MySQL/MariaDB, where the database is the schema.
SSL modeWhether the connection is encrypted. Require suits anything hosted, including Supabase; Disable is for the same machine or a private network only.
Only these tablesAn allow-list, one table per line — reads ONLY those tables; blank reads everything.
Skip these tablesThe opposite — every table is read except the ones listed here.
Connection string (advanced)PostgreSQL only — a full connection URL that overrides Host, Port, Database, Username and Password when set; the quickest way to paste Supabase's own string.

Access

Visible only to the access groups chosen when the source is set up — a database has no per-row viewers of its own, so that list governs everything the source brings in.

Only SELECTs are ever issued, and the session itself is opened read-only with a query timeout on PostgreSQL and MySQL/MariaDB — SQL Server has no session-level read-only mode, so a read-only role is what makes the guarantee hold there. Sensitive columns — passwords, card numbers, salaries and the like — are never ingested, in records, samples or totals. A table past 5,000 rows syncs only its newest 5,000 as records, and a schema past 100 tables indexes only the first 100 alphabetically — both named when they happen.

Was this page helpful?
Was this page helpful? Sign in with Google Sign in to tell us — or leave a comment.

Last updated 20 Sep 2026