Learn how to deploy and configure the Blnk Query Agent for secure, read-only database access from Blnk Cloud.
SELECT
permissions on the tables that Blnk needs to access.
Variable | Description | Format |
---|---|---|
DB_URL | PostgreSQL connection string | postgres://user:pass@host:port/db?sslmode=require |
BLNK_API_KEY | Your Blnk API key | sk_live_... or sk_test_... |
BLNK_CONNECTION_URL | WebSocket endpoint for Blnk Cloud | wss://ingest.blnkfinance.com/ws |
Variable | Default | Description |
---|---|---|
HTTP_PORT | 9090 | Health check server port |
QUERY_TIMEOUT_MS | 30000 | Database query timeout (milliseconds) |
LOG_LEVEL | info | Logging level (debug , info , warn , error ) |
RECONNECT_INTERVAL | 30 | WebSocket reconnection interval (seconds) |