# Create Data Connections

Data connections are used as a link to a database (DB) to retrieve data for test cases. To add a new DB connection:

* Click on the *Settings tab* from the top menu.

<figure><img src="https://2027008842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8uOTM2rdJeIbVeXK0c%2Fuploads%2FAg0qlx0GQ1h0XtebiGGL%2FScreenshot%202025-07-24%20185623.png?alt=media&#x26;token=f2b32210-9243-44a9-8a14-7f580a6b6457" alt=""><figcaption></figcaption></figure>

* Click on the *Add New Connection* button.

<figure><img src="https://2027008842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8uOTM2rdJeIbVeXK0c%2Fuploads%2FqbXHHYq3yTjTF9c38wQ1%2Fadd_new_conn.PNG?alt=media&#x26;token=5c2c852e-8c51-4635-8c2a-29475e0a4721" alt=""><figcaption><p>Add New Connection</p></figcaption></figure>

* Select a DB type to create a connection (User can connect to more than 20 types of DB)

<figure><img src="https://2027008842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8uOTM2rdJeIbVeXK0c%2Fuploads%2FUgxpjm9DGD1asiLIzVig%2Fimage.png?alt=media&#x26;token=84ce8954-b262-43f8-99e4-1d8d7aa0baab" alt=""><figcaption></figcaption></figure>

* Select the type of DB from the shown options to use as data source.
* Provide the required details for the connection, such as:
  * \*\*Connection Name : \*\* This name is used to connect to this data source.
  * \*\*JDBC Connection String : \*\*JDBC Connection URL.
  * \*\*User : \*\*User Name.
  * \*\*Password : \*\*Password.
* Click on *Test Connection* and then *Create Source* when the connection's details have been validated.

{% embed url="<https://vimeo.com/1104138524/b3899be641?ts=0&share=copy>" %}

<figure><img src="https://2027008842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaO8uOTM2rdJeIbVeXK0c%2Fuploads%2Fob1Zllh18EeIFweMQynp%2FScreenshot%202024-12-16%20135159.png?alt=media&#x26;token=2b1bbdf2-6394-48ea-b789-11dc87c4dad0" alt=""><figcaption><p>Create Connection</p></figcaption></figure>


---

# 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.vexdata.io/getting-started/settings/untitled.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.
