> For the complete documentation index, see [llms.txt](https://docs.run.claw.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.run.claw.cloud/clawcloud-run/guide/database/postgresql.md).

# 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="/files/jeLWH0RzkBvEf1PItcUj" 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="/files/D4aghCWUIZOeRVJ2H6Ru" 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="/files/iZZCrz6RAlWiZtpSF5KL" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.run.claw.cloud/clawcloud-run/guide/database/postgresql.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
