where do we create shared connection on production server or in Pg admin?
You create shared database connections inside Process Studio, not in pgAdmin and not directly on the production AE Server UI.
-
pgAdmin manages the PostgreSQL database itself (tables, schemas, user access); it has no link to AE workflows.
-
Process Studio is where your workflows are built and where database connections are defined.
-
AE Server / Agent only executes what is published; you do not define the connection objects directly in the AE UI.
How to Create It in Process Studio
-
Open your workflow in Process Studio.
-
In the left panel, switch to the View tab and expand Database connections.
-
Right-click an existing connection and click Share (or right-click Database connections → New, configure it, and share it).
-
The connection name will turn bold, meaning it is now saved to
shared.xmland reusable across other workflows in that workspace.
Key Production Watchout
When your workflow runs on a production Agent, the agent machine must have network access to the PostgreSQL database host and port (default 5432). Ensure the database firewall permits the Agent’s IP address, not just your local PC.