Skip to main content

PostgreSQL - Credentials

This page describes how to create a PostgreSQL - Credentials data source. This data source stores the connection information required to access PostgreSQL and can be reused across multiple PostgreSQL integration tasks.

Use Cases

  • Manage host, port, and account information centrally for multiple PostgreSQL sync tasks
  • Avoid re-entering the same database connection settings in every task
  • Update all dependent tasks in one place when the database endpoint or account changes

Create PostgreSQL - Credentials

  1. Navigate to Data > Data Sources and click Create Data Source.
  2. Select PostgreSQL - Credentials as the service type, then fill in the connection details:
FieldRequiredDescription
NameYesA descriptive name for this data source
HostnameYesPostgreSQL server hostname or IP address
Port NumberYesPostgreSQL server port (default: 5432)
DB UsernameYesUsername used to access PostgreSQL
DB PasswordYesPassword for the PostgreSQL user
Database NameYesThe source database name
SSL ModeNoSSL connection mode: disable, require, verify-ca, or verify-full (default: disable)

Create PostgreSQL Data Source

  1. Click Test Connectivity to validate the connection. If the test succeeds, click OK to save the data source.

Usage Recommendations

  • Use a dedicated PostgreSQL account instead of sharing one with application workloads
  • If you plan to create CDC Only or Snapshot + CDC tasks, make sure the account has replication-related privileges
  • Verify network access, WAL configuration, and permissions before creating downstream tasks

Next Steps

After creating this data source, you can use it to create a PostgreSQL Integration Task.

Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today