> For the complete documentation index, see [llms.txt](https://docs.p0.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.p0.dev/integrations/resource-integrations/postgresql-new.md).

# PostgreSQL (new)

Connect P0 to PostgreSQL databases on Amazon RDS and Google Cloud SQL, and request either a database role or SQL-scoped access.

{% hint style="info" %}
This page covers the integration listed as **PostgreSQL (new)** in the P0 console. P0 also offers an earlier PostgreSQL integration, listed as **PostgreSQL**, which is documented separately. The two are independent installs: installing this one does not migrate an existing **PostgreSQL** install, and access policies written for one do not apply to the other. If the integration you installed is listed as **PostgreSQL**, see [PostgreSQL](/integrations/resource-integrations/postgresql.md) instead.
{% endhint %}

Access roles in RDS-hosted and Cloud SQL-hosted PostgreSQL.

To learn more, visit:

* [Installing an RDS database](/integrations/resource-integrations/postgresql-new/installing-an-rds-database.md)
* [Installing a Cloud SQL database](/integrations/resource-integrations/postgresql-new/installing-a-cloudsql-database.md)
* [Requesting PostgreSQL access](/integrations/resource-integrations/postgresql-new/requesting-postgresql-access.md)
