# Connecting a PostgreSQL Database

In Dapta you can add your data sources to create APIs from them, and build your own business logic on top. Here's a quick video on how to create a PostgreSQL connection hosted in Google Cloud Platform.

When you connect a data source in Dapta, we're not duplicating your data or creating a cache, we're just a tunnel for you to create API endpoints with custom logic.

{% embed url="<https://www.loom.com/share/20354a7973c140b2b73468d7ca72ea22?sid=23781758-646b-4762-be70-165c744d5d9c>" %}


---

# Agent Instructions: 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.dapta.ai/product-guides/connecting-data-sources/connecting-a-postgresql-database.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.
