Datalore 2025.6 Help

PostgreSQL

This procedure explains how to configure a PostgreSQL database connection.

Before you begin

Make sure your database instance is configured to accept incoming connections from the following IP address:

63.33.83.29

Configure a PostgreSQL database connection

  1. Open the New PostgreSQL connection dialog.

    1. Open the Attached data tool from the left-hand sidebar.

    2. Switch to the Databases tab. You will see the list of all database connections available from the respective workspace.

    3. Click Plus New database.

      The Attached data section in a notebook with the Databases tab open
    4. In the New database connection dialog, select PostgreSQL.

    1. In the sidebar on the Home page, select the workspace where you want to create a PostgreSQL connection.

    2. In the workspace resources, select Document Data and switch to the Databases tab.

      'Databases' tab
    3. Click Plus icon New database connection at the top right.

    4. In the dialog, select Postgres PostgreSQL.

      New database connection dialog
  2. On the General tab, select the connection type.

    • default: to connect by specifying the Host, Port, and Database.

    • URL only: to connect by providing the URL of a pre-built connection.

  3. (For default) In the Port field, type the port of PostgreSQL Databse. The default port is 5432.

  4. Under Authentication, select an authentication method:

    • User & Password: to use your login and password

    • No auth: to connect without authentication required

  5. In the User and Password fields, specify your credentials if required by the selected authentication method.

  6. Based on the selected connection type:

    • In the Default dataset field, type the dataset name to which you want to connect.

    • In the URL field, provide the URL of the pre-built connection you want to establish.

  7. (Optional) For other options (SSH tunneling, scope inspection, or additional connection parameters), switch to the respective tab of the dialog and follow one of these procedures.

  8. Click the Test connection button at the bottom of the dialog.

  9. Once the connection is successfully tested, click the Create and close button.

Attach the connection to a notebook

  1. If the notebook is not running, start it by clicking Run | Start machine.

  2. In the sidebar, select Attached data and switch to the Databases tab.

  3. Enable the toggle in your PostgreSQL connection.

  1. Open the notebook you want to attach the connection to.

  2. If the notebook is not running, start it by clicking Run | Start machine.

  3. In the sidebar, select Attached data and switch to the Databases tab.

  4. Enable the toggle in your PostgreSQL connection.

    Next steps

    17 November 2025