Connectors

PostgreSQL and Supabase

PostgreSQL and Supabase connector configuration options.

PostgreSQL

Tested with PostgreSQL 14 through 17.

Connection Parameters

ParameterTypeRequiredDefaultDescription
hoststringYesDatabase server hostname or IP address
portnumberYes5432Database server port
userstringYesDatabase username
passwordstringYesDatabase password
dbnamestringYesDatabase name

Alternatively, paste a connection string to auto-populate all fields:

Connection String
postgresql://user:password@host:5432/database

SSL Configuration

ParameterTypeDescription
ssl.modestringSSL connection mode (see below)
ssl.ca_certstringCA certificate (base64-encoded PEM or DER)
ssl.client_certstringClient certificate for mutual TLS (base64-encoded)
ssl.client_keystringClient private key (base64-encoded)
ssl.client_key_passwordstringPassword for an encrypted client private key

SSL Modes

ModeDescription
disableNo TLS encryption
preferAttempt TLS, fall back to unencrypted if unavailable
requireRequire TLS without certificate verification. If ssl.ca_cert is provided, verifies the server certificate against it (same behavior as verify-ca)
verify-caRequire TLS and verify the server certificate chain. Does not check hostname. When ssl.ca_cert is omitted, validates against the platform's system root CAs
verify-fullRequire TLS, verify the server certificate chain, and verify the hostname matches the certificate. When ssl.ca_cert is omitted, validates against the platform's system root CAs
For production deployments, use verify-full. Managed providers (Supabase, AWS RDS, Neon) use certificates signed by public CAs, so ssl.ca_cert is not required — the system root CA store handles validation. Provide ssl.ca_cert only for self-signed or private CAs.

Supported Key Formats

Client keys are accepted in the following formats, all normalized internally to PKCS#8:

  • PKCS#8 (PEM or DER)
  • Encrypted PKCS#8 PEM (requires ssl.client_key_password)
  • PKCS#1 RSA (PEM or DER)
  • SEC1 EC (PEM only)

Supabase

The Supabase connector is a preconfigured PostgreSQL preset. It uses the same PostgreSQL engine and supports all the same features — SSL, introspection, connection pooling, and transactions.

Select Supabase when connecting to a Supabase-hosted database. The configuration form is identical to PostgreSQL with a Supabase-specific connection string placeholder.

Connect to Supabase

  1. Open your Supabase project dashboard and navigate to Project Settings > Database.
  2. Copy the connection string (direct connection or session pooler).
  3. In Monospace, add a new data source and select the Supabase connector.
  4. Paste the connection string — all fields populate automatically.

Supabase provides two connection string formats:

Direct Connection
postgresql://postgres:[YOUR-PASSWORD]@db.[PROJECT-REF].supabase.co:5432/postgres
Session Pooler
postgresql://postgres.[PROJECT-REF]:[YOUR-PASSWORD]@aws-0-[REGION].pooler.supabase.com:5432/postgres
Supabase connections use PostgreSQL under the hood. All PostgreSQL configuration options, SSL modes, and capabilities apply.

See Also

Copyright © 2026