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

# Snowflake Postgres

> Build apps with read and write access to a Snowflake Postgres database

## Setting up Snowflake Postgres

### 1. Add integration

Select **Snowflake Postgres** from the **integrations page**.

### 2. Configure settings

Connect using either a form or a connection string.

> [tab] Form
>
> \
> Fill out the form with the following settings:
>
> | Setting | Required | Description |
> | - | - | - |
> | Name | ✓ | Name that will be displayed to users when selecting this integration in Prod AI |
> | Host | ✓ | Hostname or IP address to connect to (e.g. `xxxx.us-west-2.aws.postgres.snowflake.app`) |
> | Port | ✓ | Port to use when connecting (default: `5432`) |
> | Database Name | ✓ | Name of database to connect to |
> | Database Username | ✓ | Username to use to connect |
> | Database Password | ✓ | Password for database username |
> | Use a self-signed SSL certificate | ✗ | Provide **Server CA**, **Client Key**, and **Client Cert** |

> [tab] Connection string
>
> \
> Provide a PostgreSQL connection string in the following format:
>
> ```
> postgresql://username:password@host:port/database
> ```

### 3. Test and save

Click **Test Connection** to check that Prod AI can connect to the data source.

On Dedicated Cloud, allowlist your [Prod AI data plane IP addresses](https://docs.prod.ai/deployment/security/overview.md#ip-addresses).

After connecting successfully, click **Create** to save the integration.

### 4. Set data tags

Optionally, configure different data tags for [separate development environments](https://docs.prod.ai/development-lifecycle/build/data-tags.md).

**Snowflake Postgres connected!**
You can now build
[apps](https://docs.prod.ai/coding-agents/apps.md) and [agents](https://docs.prod.ai/coding-agents/agents.md) with Snowflake Postgres.

## Troubleshooting

Check out our guide on [common errors across database integrations](https://docs.prod.ai/integrations/troubleshooting/troubleshooting-databases.md). If you are encountering an error that you don't see in the guide, or the provided steps are insufficient to resolve the error, please contact us at [support@prod.ai](mailto:support@prod.ai).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.