---
title: Establishing a Connection via Kron PAM SQL Proxy
slug: end-user-guide-3-5-0-legacy-ui/establishing-a-connection-via-kron-pam-sql-proxy
description: Learn how to establish a secure and efficient connection to a Database using the Kron PAM SQL Proxy. Follow the step-by-step instructions to set up a new connection by entering the necessary credentials, setting the Kron PAM IP address as the connection h
docTags: 
createdAt: 2022-08-10T14:57:03.000Z
---

The port number is the identifier of the connection to the Database via Kron PAM SQL Proxy.&#x20;

To establish a connection using SQL Proxy:

1. Utilize an SQL client (such as DBeaver, DataGrip, SQL Workbench, etc.)
2. Initiate a new connection in the SQL client, selecting the type of database added to Kron PAM (e.g., if Oracle was added to Kron PAM, select an Oracle-type connection).
3. Enter the username and password for the device you entered in Kron PAM into the connection screen of your SQL client.
4. Enter the SQL proxy port number, specifically assigned in Kron PAM, into the PORT field.
5. Input the IP number of Kron PAM into the Host field.
6. Enter the database name you entered in Kron PAM into the Service Name field.
7. Establish the connection.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/4X_Lls4wslW01q965Lyj3_image.png "Demonstrates the screen for connecting via an SQL client")

:::hint{type="info"}
- The username and password are the same as the user credentials used directly 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.
:::

