|
1 | 1 | --- |
2 | 2 | title: PostgreSQL |
3 | | -description: This page contains the information to store processed data to a PostgreSQL database. |
4 | 3 | --- |
5 | 4 |
|
6 | | -## Prerequisites |
7 | | - |
8 | | -* PostgreSQL Server Hostname |
9 | | - |
10 | | -* Database Name and Port Number |
11 | | - |
12 | | -* Username and Password for Database Access |
13 | | - |
14 | | - |
15 | | -For more information, please refer to [PostgreSQL documentation](https://www.postgresql.org/docs/). |
16 | | - |
17 | | -<Warning> |
18 | | - |
19 | | -Ensure that the index schema is compatible with the data you intend to write. If you need guidance on structuring your schema, consult the [Sample Index Schema](/open-source/ingest/destination-connectors/sql#sample-index-schema) for reference. |
20 | | -</Warning> |
21 | | - |
22 | | -## Step-by-Step Guide |
23 | | - |
24 | | - |
25 | | - |
26 | | -1. **Access the Create Destination Page**. Navigate to the “Destinations” section within the platform’s side navigation menu and click on “New Destination” to initiate the setup of a new destination for your processed data. |
27 | | - |
28 | | -2. **Select Destination Type**. Select **PostgreSQL** destination connector from the `Type` dropdown menu. |
29 | | - |
30 | | -3. **Configure Destination Details** |
31 | | - |
32 | | -<Note> |
33 | | -* `Name` (_required_): Assign a descriptive name to the new destination connector. |
34 | | - |
35 | | -* `Host` (_required_): Enter the hostname or IP address of the PostgreSQL server. |
36 | | - |
37 | | -* `Database` (_required_): Provide the name of the PostgreSQL database. |
38 | | - |
39 | | -* `Port`: Specify the port number for the PostgreSQL server (default is 5432). |
40 | | - |
41 | | -* `Username`: Input the username for the PostgreSQL database access. |
42 | | - |
43 | | -* `Password`: Enter the password associated with the username. |
44 | | -</Note> |
45 | | - |
46 | | -4. **Submit**. Review all the details entered to ensure accuracy. Click ‘Submit’ to finalize the creation of the Destination Connector. The newly completed PostgreSQL connector will be listed on the Destinations dashboard. |
| 5 | +Send processed data from Unstructured to PostgreSQL. |
| 6 | + |
| 7 | +The requirements are as follows. |
| 8 | + |
| 9 | +import PostgreSQLPrerequisites from '/snippets/general-shared-text/postgresql.mdx'; |
| 10 | + |
| 11 | +<PostgreSQLPrerequisites /> |
| 12 | + |
| 13 | +To create the destination connector: |
| 14 | + |
| 15 | +1. On the sidebar, click **Connectors**. |
| 16 | +2. Click **Destinations**. |
| 17 | +3. Cick **New** or **Create Connector**. |
| 18 | +4. Give the connector some unique **Name**. |
| 19 | +5. In the **Provider** area, click **PostgreSQL**. |
| 20 | +6. Click **Continue**. |
| 21 | +7. Follow the on-screen instructions to fill in the fields as described later on this page. |
| 22 | +8. Click **Save and Test**. |
| 23 | + |
| 24 | +import PostgreSQLFields from '/snippets/general-shared-text/postgresql-platform.mdx'; |
| 25 | + |
| 26 | +<PostgreSQLFields /> |
0 commit comments