---
title: Adding Zookeeper as a Device
slug: kronpam-reference-guide-3-9-0/adding-zookeeper-as-a-device
docTags: 
createdAt: 2024-10-02T10:27:21.415Z
---

Firstly, add the Zookeeper database to Kron PAM as a device:

1. Navigate to **Devices > Inventory**.
2. Click the blue **Add** button and select **Add Device**.
3. In the **Information** section, enter all the information below. Then enter the SQL Proxy Bind Port (last section in ‘add device’)
   - **IP Address**: It is the equivalent of an IP address in **etc/hosts&#x20;**&#x66;ile.
   - **Device Name**: A unique name for the Hive node. It is not required
   - **Port**: The port number used by Hive (if not specified, the default port is used).
   - **Access Protocol**: Choose Hive.
   - **Element Type**: Choose Hive.
   - **Enter SQL Proxy Bind Port** (in this case, 1019)
   - Save.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/YrW3xyfELiehr3-mEglX6_image.png "Device Addition Screen with Hive Details")

In the **Information** section, enter the required details:

- **IP Address**: The IP address of the Zookeeper database.
- **Device Name**: A unique name for the Zookeeper device.
- **Port**: The port number used by Zookeeper&#x20;
- **Access Protocol**: Select the protocol appropriate for the Zookeeper.
- **Element Type**: Choose **Database**.
- **Enter SQL Proxy Bind Port** (in this case 1022)
- Save.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/pwd0K_jCxynIyYOkPzpNc_image.png)

Then return to the Hive node that you need to connect; (in this case, this will be our first defined Hive db named **Hive datanode 3**). Zookeeper requires specific properties to be set in Kron DAM to enable proper communication and metadata management:

1. Click th&#x65;**&#x20;Edit Device&#x20;**&#x62;utton.
2. Click the **Edit Database** button.
3. Enter your Information on this screen.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/DDqHRfKoT4xK2P81Ae4yY_image.png "Properties Section with Hive-Zookeeper Credentials")

- In the device's **Properties** section, add the following parameters (the properties that not wrote with bold are examples):
  - &#x20;**external.metastore.vendor&#x20;**&#x6D;ysql
  - **external.metastore.host** 40.114.55.184
  - **external.metastore.port** 3306
  - **external.metastore.username** hiveusr
  - **external.metastore.name&#x20;**&#x6D;etastore\_db
  - **external.metastore.password.enc&#x20;**&#x68;ivepassword
    - **(Ensure the password is encrypted)**
  - **metadata.type** EXTERNAL

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/VQICAp9KxL2tnD7xV-wkL_image.png "Properties Section with Hive-Zookeeper Parameters")

:::hint{type="info"}
After these configurations user should be define user groups, device groups and policy groups like any other SQL Proxy. In this case this document assumes prior knowledge of the process; check the section [SQL Proxy](docId\:Jw4m5Vk6JFt9zVuMB0C8A) for a refresher if needed.
:::

