> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# Postgres

> PostgreSQL关系型数据库连接配置

## Create a data source

On the data source management page, click **New Data Source**.

Select the data source type: **Postgres**, and then configure the following details:

| Attributes             | English                    | Description                                             |
| ---------------------- | -------------------------- | ------------------------------------------------------- |
| Host                   | **Host**                   | Host address domain name or IP                          |
| Port number            | **Port**                   | Service port number                                     |
| User                   | **User Name**              | Account used to connect to the data source              |
| Password               | **Password**               | Account and password used to connect to the data source |
| Database               | **Database**               | Database instance to connect to the data source         |
| SSL Mode               | **SSL Mode**               | Encrypted connection type                               |
| SSL Root Certificate   | **SSL Root Certificate**   | Encrypted connection root certificate                   |
| SSL Client Certificate | **SSL Client Certificate** | Encrypted connection client certificate                 |
| SSL Client Key         | **SSL Client Key**         | Encrypted connection client key                         |
