---
title: Adding a Database as a Device
slug: kronpam-legacy-ui-reference-guide-3-5-0/adding-a-database-as-a-device
description: Learn how to configure a target database as a device with this comprehensive document. Follow step-by-step instructions, including how to navigate to the Device Inventory menu and add a new device discovery by entering pertinent details. Discover the impo
docTags: 
createdAt: 2022-08-01T16:22:51.000Z
---

The target database is configured as a device:

1. Navigate to **Device Management** **> Device Inventory** menu.
2. Click the **New Device Discovery** button.
3. Enter the IP address, port (if not set, the default port is used according to the access protocol), and the access protocol, and select the Device Group for the assigned device should be in.
4. Click the **Discover** and **Add&#x20;**&#x62;utton.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/TMGnlnI0ut7-flSkJC-q__image.png "Adding Database")

The port number is the identifier of the connection to ORACLE, MSSQL, MySQL Cassandra, Teradata, Hive, PostgreSQL, and DB2 via a Kron PAM SQL Proxy. The port number must be defined in the Device Properties of the MSSQL, MySQL Cassandra, Teradata, Hive, PostgreSQL, DB2, SAP Hana, and Couchbase databases.

The following system configuration parameter should be set for the port assignment option:

1. Navigate to **Administration** > **System Config Man**.
2. Set the **sql.proxy.bind.port.range** parameter with the requested port range.

| **Parameter Name**            | **Parameter Value**         |
| ----------------------------- | --------------------------- |
| **sql.proxy.bind.port.range** | Port range (e.g. 6000-7000) |

Entering the database credential information.

1. Navigate t&#x6F;**&#x20;Device Management** > **Device Inventory**.
2. Right-click the defined database device and select **Show Properties**.
3. Input properties of this database, including: db.name, db.username, db.password, **sql.proxy.bind.port**
4. Click the **Auto Assign** button.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/GJapTejkECAAonedwGpSW_image.png" size="68" width="576" height="194" caption="SQL Proxy Bind Port" position="center" showCaption="true"}

:::hint{type="info"}
The username and password are the same as the user credentials used to directly connect to the database. The username must be defined as a user in Kron PAM, and realms must be created for connection and policy enforcement by a system Admin.
:::

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/sTbowEVqrcAPuTWhQZaJt_image.png" size="76" width="754" height="432" position="center" caption="illustrates the panel for adding a device in Kron PAM. " showCaption="true"}

