---
title: Connect a Client
slug: unify/connect-a-client
description: Learn how to connect a client in Litmus UNS. 
docTags: 
createdAt: 2023-12-13T13:43:19.826Z
---

You can connect to Litmus Unify through an MQTT client such as [MQTT Explorer](https://mqtt-explorer.com/).

# Before You Begin

You will need to [Add a MQTT Account](docId\:SB46nMDIlIjQy1apZs_BQ) and use the username and password to connect to Unify.&#x20;

# Step 1: Access Connection Parameters

To access connection parameters for the different types of MQTT connections, navigate to the Unify dashboard and click **Connect** at the top right.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/V1DxsJqK5tMgq-tWrACOl_image.png" size="80" isUploading="false" width="1487" height="887" darkWidth="1487" darkHeight="887" position="flex-start" showCaption="false"}

From the *Connect to Litmus Unify* dialog, review the hostnames and port numbers required for each type of MQTT connection. You can also download the certificate for Unify.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/X20SHvZtvDvZ2nK_3DQJw_image.png" size="60" isUploading="false" width="398" height="470" darkWidth="398" darkHeight="470" position="flex-start" showCaption="false"}

# Step 2: Connect to Client

Once you have defined the type of connection you want to create, you can connect to Unify through a client such as MQTT Explorer. For these steps, we will use the MQTT Explorer client and create an MQTT connection.&#x20;

**To connect to a client:**

1. Open MQTT Explorer.&#x20;
   The *MQTT Connection* dialog displays.&#x20;
2. Enter a name for the connection.&#x20;
3. For *Protocol*, select **mqtt://**.&#x20;
4. For *Host*, enter the hostname from *Step 1: Access Connection Parameters*.&#x20;
5. For *Port*, enter **1883**. This is the port number to configure an MQTT connection.&#x20;
   **Note**: For private beta, the port number is set to 1883. When Unify is released for general availability, you can customize the port.&#x20;
6. Enter the appropriate *Username&#x20;*&#x61;nd *Password&#x20;*&#x66;or the account you want to use to connect. See [Add a MQTT Account](docId\:SB46nMDIlIjQy1apZs_BQ) to learn more.&#x20;
7. Click **Advanced**.&#x20;
8. For **MQTT Client ID**, enter or paste the Client ID for the user. See [Add a MQTT Account](docId\:SB46nMDIlIjQy1apZs_BQ) to learn more.&#x20;
9. Click **Back**.&#x20;
10. Click **Connect**.&#x20;
    The client should successfully connect.&#x20;

