Nia CoreOn the Canvas, add a new connection and choose "Local database (via agent)". Pick the paired agent and, if it has more than one, which database connection on that agent to use. There are no host, username, or password fields here — those live on the agent machine, set up during install (see Connect a database).
Use Test to confirm the platform can reach the agent and the agent can reach the database — this only checks reachability, it doesn't run anything. Browse the database's tables the same way as any other connection.
Choose the table to read. List the exact columns you want — this connection type never reads every column by default, only what you explicitly pick.
A simple filter (column compared to a value, chained with AND) is supported. If a filter is too complex for direct delivery — it uses OR, NOT, or a computed condition — Publish will block with a plain message telling you to route it through a regular Nia Core workflow instead.
On the destination node's Mapping tab, map each source column to its destination field, the same mapping editor used everywhere else on the Canvas. In the Delivery section, choose the key column(s) the destination uses to match rows, and — if the mode needs one — a watermark column (a column that increases over time, used to find new or changed rows).
Publish is the one action that actually sends this job to the agent — saving the Canvas graph does not. Publish shows you a diff against whatever is currently running on the agent, and clearly flags anything that forces a full reload (switching the source table, changing the key or watermark column, or switching away from upsertDelta/realtime mode) versus a change the agent can apply in place (schedule, mapping, filter value). Confirm to send it.
Runs for a job set up this way appear both in the owning workflow's own run history and on the Agents page, showing success/failure, row counts, how long each run took, and — for a failed run — its error class.
nia-agent status on the agent machine shows the same jobs from that side, including any created directly on the agent with nia-agent job add rather than published from the Canvas — those are listed as "local" and stay fully agent-owned.