# PostgreSQL

PostgreSQL is a powerful, open-source object-relational database system. In ClawCloud Run, you can easily set up and connect to PostgreSQL databases for your development projects.

## Deploy

ClawCloud Run makes it easy to deploy a PostgreSQL database with just a few clicks. follow these steps:

1. From the desktop, click on the **"Database"** Button to open the Database app.

<figure><img src="https://2509840198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrViHKCGxzpwUEsRBfwlN%2Fuploads%2FGvRcoylwO9wbI72rQ2AM%2Fimage.png?alt=media&#x26;token=326ea3de-7422-4d5d-a719-3e1436c77f08" alt=""><figcaption></figcaption></figure>

2. Click on the **"Create Database"** button. In the deployment form:

* Select **"Postgres"** as the database type.
* Choose the desired PostgreSQL version (e.g., postgresql-14.8.0).
* Enter a name for your database (use lowercase letters and numbers only).
* Adjust the CPU and Memory sliders to set the resources for your database.
* Set the number of replicas (1 for single-node development and testing).
* Specify the storage size (e.g., 3 Gi).

<figure><img src="https://2509840198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrViHKCGxzpwUEsRBfwlN%2Fuploads%2F6bua5F0JiWQJWIwWYVmG%2Fimage.png?alt=media&#x26;token=f276895f-9fa3-441d-90db-149171f64b9d" alt=""><figcaption></figcaption></figure>

3. Review the projected cost on the left sidebar. Click the **"Deploy"** button in the top right corner to create your PostgreSQL database.

Once deployed, ClawCloud Run will provide you with the necessary connection details.

<figure><img src="https://2509840198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrViHKCGxzpwUEsRBfwlN%2Fuploads%2FEHltbOnWQfsdE58ADn8y%2Fimage.png?alt=media&#x26;token=3ac10226-b964-48b4-b947-f3fda5afa5e5" alt=""><figcaption></figcaption></figure>
