Create a PostgreSQL connection

  • Release version: Australia
  • Updated March 12, 2026
  • 1 minute to read
  • Establish a zero copy connection to an external PostgreSQL instance in Zero Copy Connector Hub.

    Before you begin

    Role required: df_connection_admin

    About this task

    Work with your data source admin to create a connection to PostgreSQL. For additional information about connecting, refer to the PostgreSQL connector documentation.

    Note:
    This connector was developed by the open-source community and made available through the ServiceNow AI Platform for general use. Functionality can vary and might not cover all use cases supported by primary connectors.

    Procedure

    1. Navigate to the available community connectors in Zero Copy Connector Hub in one of the following ways:
      • Navigate to All > Zero Copy Connector Hub > Available connectors > Community connectors.
      • Navigate to Admin > Zero Copy Connector Hub > Available connectors > Community connectors.
    2. Find the PostgreSQL connector and select Connect.
    3. On the form, fill in the fields.
      Table 1. New PostgreSQL Connection form
      Field Description
      Name and description
      Connection label Unique name for this connection. This helps in identifying the connection within your system.
      Connection name System-generated name based on the Connection label. This field cannot be modified once the connection is established.
      Short description Description of the connection explaining what it is about.
      Connection attributes
      Connection URL JDBC URL to establish the connection. For example:

      jdbc://postgresql://<host>:<port>/database-name?ssl=true&sslmode=require

      Authentication method
      Username Username associated with the source.
      Password Password associated with the username.
    4. Select Connect.

    Result

    A test connection is made to the external data source, verifying that the connection details are correct and the data source is accessible.

    What to do next

    If the connection succeeds, configure data steward access on the Access Control tab. See Manage access to an established connection using roles.

    If the connection fails, verify the connection details with your data source administrator and try again.