51黑料不打烊

Connect PostgreSQL to Experience Platform using the UI

Read this guide to learn how to connect your PostgreSQL database to 51黑料不打烊 Experience Platform using the sources workspace in the Experience Platform user interface.

Getting started

This tutorial requires a working understanding of the following components of 51黑料不打烊 Experience Platform:

If you already have a valid PostgreSQL connection, you may skip the remainder of this document and proceed to the tutorial on configuring a dataflow.

Gather required credentials

Read the PostgreSQL overview for more information on authentication.

Enable SSL encryption for your connection string

You can enable SSL encryption for your PostgreSQL connection string by appending your connection string with the following properties:

Property
Description
Example
EncryptionMethod
Allows you to enable SSL encryption on your PostgreSQL data.
  • EncryptionMethod=0(Disabled)
  • EncryptionMethod=1(Enabled)
  • EncryptionMethod=6(RequestSSL)
ValidateServerCertificate
Validates certificate sent by your PostgreSQL database when EncryptionMethod is applied.
  • ValidationServerCertificate=0(Disabled)
  • ValidationServerCertificate=1(Enabled)

The following is an example of a PostgreSQL connection string appended with SSL encryption: Server={SERVER};Database={DATABASE};Port={PORT};UID={USERNAME};Password={PASSWORD};EncryptionMethod=1;ValidateServerCertificate=1.

In the Experience Platform UI, select Sources from the left navigation to access the Sources workspace. Select the appropriate category in the Categories panel Alternatively, use the search bar to navigate to the specific source that you want to use.

To use PostgreSQL, select the PostgreSQL source card under Databases and then select Set up.

TIP
Sources in the sources catalog display the Set up option when a given source does not yet have an authenticated account. Once an authenticated account is created, this option changes to Add data.

![The sources catalog with the PostgreSQL source card selected.]

Use an existing account existing

To use an existing account, select Existing account and then select the PostgreSQL account that you want to use.

The existing account interface of the sources workflow.

Create a new account create

If you do not have an existing account, then you must create a new account by providing the necessary authentication credentials that correspond with your source.

To create a new account, select New account and then provide a name and optionally add a description for your account.

The new account interface in the sources workflow with an account name and optional description provided.

Connect to Experience Platform on Azure azure

You can connect your PostgreSQL account to Experience Platform on Azure using either account key or basic authentication.

Account key authentication

To use account key authentication, select Account key authentication, provide your connection string, and then select Connect to source.

The new account interface in the sources workflow with "Account key authentication" selected.

Basic authentication

To use basic authentication, select Basic authentication, provide values for your authentication credentials, and then select Connect to source.

The new account interface in the sources workflow with "Basic authentication" selected.

Connect to Experience Platform on Amazon Web Services (AWS) aws

AVAILABILITY
This section applies to implementations of Experience Platform running on Amazon Web Services (AWS). Experience Platform running on AWS is currently available to a limited number of customers. To learn more about the supported Experience Platform infrastructure, see the Experience Platform multi-cloud overview.

To create a new PostgreSQL account and connect to Experience Platform on AWS, ensure that you are in a VA6 sandbox and then provide the necessary credentials for authentication.

The new account interface in the sources workflow to connect to AWS.

Create a dataflow for your PostgreSQL data

By following this tutorial, you have established a connection to your MariaDB account. You can now continue on to the next tutorial and configure a dataflow to bring data into Experience Platform.

recommendation-more-help
337b99bb-92fb-42ae-b6b7-c7042161d089