# Presto

Presto is a distributed query engine for analyzing big data using SQL queries. With UI Bakery, you can build applications on top of your Presto API in just a couple of minutes.

## Configuration

### Connecting the data source

1. On the **Data sources** page, click **Connect**, and select *Presto* in the Data sources list.
2. Specify the **JDBC connection string**, for example:

```
jdbc:presto://presto-host.com:8080
```

{% hint style="info" %}
UI Bakery connects to Presto using JDBC - you will need to create a JDBC string to connect your data source.
{% endhint %}

3. Next, fill in all other required credentials and click **Test connection** to check whether the data source can be connected.
4. Click **Connect Datasource** to complete the setup.

<figure><img src="/files/gzFm4lsTV8TDCvcaBBTG" alt=""><figcaption></figcaption></figure>

## Usage

Currently, UI Bakery only supports the [SQL Query](/reference/working-with-actions/sql-query.md) action step when working with Presto data sources.


---

# 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.uibakery.io/reference/data-sources/presto.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.
