# Connections

Currently Zerve supports the following database connections with others following soon.

1. Snowflake
2. PostgreSQL
3. MySQL
4. MariaDB
5. BigQuery
6. Weaviate

## Setting up a Connection:

1. Go to Assets -> Connections -> Create Connections from your Zerve account's home page.

<figure><img src="/files/vGXNIPPY2UV8Can7P1hb" alt=""><figcaption><p>connection setup</p></figcaption></figure>

2. Select the required connection to setup and add the necessary connection parameters.

<figure><img src="/files/ynPuiTq8ffiuLRp18SSj" alt=""><figcaption><p>snowflake connection setup</p></figcaption></figure>

3. Once saved this connection can be accessed from SQL blocks in each canvas.

<figure><img src="/files/5Gvjf1LoAFy7Sgoof2J3" alt=""><figcaption><p>add connection asset to canvas</p></figcaption></figure>

4. Access the connection from SQL Block and store the queried table as df.

<figure><img src="/files/u6PW6sMiHFjnEkxDUNXo" alt=""><figcaption><p>connect from sql block</p></figcaption></figure>

5. Snowflake SQL query is executed and the result is stored as a dataframe in df variable.

<figure><img src="/files/TcmZYjceoKujpK2jgwgV" alt=""><figcaption><p>full screen mode of SQL Query</p></figcaption></figure>

This variable is now available for downstream python blocks as an input variable.&#x20;


---

# 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.zerve.ai/guide/notebook-view/assets/connections.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.
