---
title: Database Connection
slug: builder-en/database-connection
description: Learn how to set up a database connection with Builder using this step-by-step guide. Access the Database Connection configuration page, add the required information, and choose between JNDI or Direct Connection. For JNDI, enter the JNDI name, or for dire
createdAt: 2021-10-04T18:10:22.000Z
---

Builder requires setting up a database connection to interface with database tables.

## Before getting started

- [x] You must have a working database driver in your operating environment before setting up a Builder Database Connection.

## Procedure

1. Access the Database Connection configuration page through the menu `Builder > Configuration > Database Connection`;
2. Click on the "**New**" button;
3. Fill in the information for the fields Name, Description, and Type;
4. Type can be either JNDI Connection or Direct Connection:
   1. For **JNDI&#x20;**&#x63;onnection, enter the **JNDI name** as configured in the operating environment;
   2. For **direct&#x20;**&#x63;onnection, enter **Database type, JDBC Path, and database credentials** (User and Password).
5. Click on the "**Save**" button.&#x20;

:::hint{type="info"}
🖊<u>**Note**</u>**:&#x20;**&#x41;ll fields in the Items list will be used as a filter to restrict the listed items.
:::

```none
Since Builder uses the jtds driver to connect to MS SQL Server databases, the connection URL must follow the pattern:
jdbc:jtds:sqlserver://{server}:{port};DatabaseName={name of the database}. 

In  addition, the driver name for the Integration Flow connector must be:
 net.sourceforge.jtds.jdbc.Driver.
```

