Intro
To learn more about PostgreSQL, visit their website at https://www.postgresql.org/ You export data to a PostgreSQL database in the Data Center. This topic discusses the fields and menus that are specific to the PostgreSQL Database Writeback connector user interface. General information for adding DataSets, setting update schedules, and editing DataSet information is discussed in Adding a DataSet Using a Data Connector.Prerequisites
To configure this connector, you will need the following:-
A Domo Client ID and Client Secret. To obtain these credentials, do the following:
- Log into your Domo developer account at https://developer.domo.com/login.
- Create a new client.
- Select the desired data and user application scope.
- Click Create.
- Your SQL database or schema name.
- The hostname or IP address of your PostgreSQL database server.
- The port number of your PostgreSQL server.
- Your PostgreSQL username and password.
Configuring the Connection
This section enumerates the options in the Credentials and Details panes in the PostgreSQL Writeback Connector page. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.Credentials Pane
This pane contains fields for entering credentials to connect to your Domo developer account as well as the table in your PostgreSQL database where you want your data to be copied to. The following table describes what is needed for each field:Field | Description |
|---|---|
Domo Client ID | Enter your Domo client ID. |
Domo Client Secret | Enter your Domo client secret. |
Username | Enter your PostgreSQL username. |
Password | Enter your PostgreSQL password. |
Host | Enter your PostgreSQL database hostname. |
Port | Enter your PostgreSQL database port number. |
Certificate | Paste the text for your CA certificate, or enter the URL where your certificate is located. By default no certificate is required. |
Certificate Type | Select a certificate type. This must match what you enter in the Certificate field. If you are not aware of a special certificate, select No certificate . |
Database Name | Enter the name of your PostgreSQL database. |
Details Pane
This pane contains a number of fields for specifying your data and indicating where it’s going.Menu | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
DataSet ID | Enter the DataSet ID (GUID) for the DataSet you want to copy to PostgreSQL. You can find the ID by opening the details view for the DataSet in the Data Center and looking at the portion of the URL followingdatasources/. For example, in the URLhttps://mycompany.domo.com/datasources/845305d8-da3d-4107-a9d6-13ef3f86d4a4/details/overview{” ”}, the DataSet ID is 845305d8-da3d-4107-a9d6-13ef3f86d4a4. | ||||||||
Table Name Source | Choose how the SQL table should be named.
| ||||||||
Operation Type | Select an operation type to perform:
| ||||||||
Custom Table Name | Enter the name for the SQL table in your PostgreSQL database, where you want your DataSet data to be copied. | ||||||||
Table Update Method | When you select the
Operation Type as
Update an Existing Table , theTable Update Methodfield appears.
|