> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# Hex

> Hex supports querying and visualizing both internal data and external data in the database.

Hex supports querying and visualizing both internal data and external data in the database.

Add a data connection in Hex. Note that you must select MySQL as the connection type.

![Hex](https://mintcdn.com/mirrorship-docs/8gpPdHU-sBXASb5i/documents/images/451cd4630cd86f75ec4a7e89.png?fit=max\&auto=format\&n=8gpPdHU-sBXASb5i\&q=85\&s=f981247f6ec525402f513d14337fee5f)

The parameters that you need to configure are described as follows:

* **Name**: the name of the data connection.
* **Host & port**: the FE host IP address and FE query port of your cluster. An example query port is `9030`.
* **Database**: the data source that you want to access in your cluster. The value of this parameter is in the `<catalog_name>.<database_name>` format.
  * `catalog_name`: the name of the target catalog in your cluster. Both internal and external catalogs are supported.
  * `database_name`: the name of the target database in your cluster. Both internal and external databases are supported.
* **Type**: the authentication method that you want to use. Select **Password**.
* **User**: the username that is used to log in to your cluster, for example, `admin`.
* **Password**: the password that is used to log in to your cluster.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.