Getting Started with the HiveMQ Platform

The HiveMQ Platform connects MQTT data streaming with real-time data intelligence and governed actions.

This guide shows you how to create a free HiveMQ account, run your first broker, and send and receive MQTT messages. The guide also introduces the Data Intelligence capabilities of the HiveMQ Platform.

The legacy HiveMQ Cloud console (console.hivemq.cloud) closed on November 4, 2026. All HiveMQ accounts, new and existing, now open in the HiveMQ Platform at app.hivemq.com.

1. Create a New HiveMQ Account

  1. Go to app.hivemq.com.

  2. If you are new to HiveMQ, click Sign up and select a login method. You can use your GitHub, Google, or LinkedIn account, or your email address:

    HiveMQ Signup
    • Email: HiveMQ sends a verification code to your email address. Enter the code and click Verify email. If you do not receive the code, click Resend code. Then set a secure password and click Create account.

    • GitHub, Google, or LinkedIn: The provider supplies your login data.

  3. To complete your sign-up, enter basic contact details for your user profile and click Continue:

    HiveMQ Profile

    HiveMQ creates your account and an organization with the company name that you provided. Your account receives the Owner role in the organization.

For future visits, log in with the method that you selected.

2. Get HiveMQ Running on Your Infrastructure

After you sign up, the Welcome to HiveMQ screen shows the options to start with HiveMQ:

  • Download HiveMQ Software: Run a self-managed HiveMQ broker on Docker, Kubernetes, or your own machines.

  • Start on HiveMQ Cloud: Use a fully managed HiveMQ Cloud broker.

  • Connect an existing broker: Connect your existing HiveMQ brokers to the HiveMQ Platform. For more information, see Connect Your Existing HiveMQ Broker or Edge Instance.

HiveMQ Cloud brokers do not currently support Data Intelligence in the HiveMQ Platform. The Contextualize and Analyze capabilities are unavailable for HiveMQ Cloud brokers. For more information, see Getting Started with HiveMQ Cloud.

This guide uses the Download HiveMQ Software option with a HiveMQ Lab license. The Lab license is a free 30-day license to run a self-managed HiveMQ Enterprise MQTT Broker in non-production environments. The Lab license includes the Data Intelligence capabilities in Contextualize and Analyze, up to the free allowance.

  1. On the Download HiveMQ Software card, click Continue:

    HiveMQ broker deployment options

    A page with the available licenses opens.

  2. Review the Subscription Agreement, then click Select on the Lab Package card:

    Select a license

    The How to deploy your broker page opens:

    Choose how to deploy your broker
  3. Select the deployment option that you prefer.

  4. Follow the steps on the HiveMQ Platform, or go to the matching section of this guide:

    Option Best for Action

    Docker

    Quick local testing and development

    Run now

    Kubernetes

    Container orchestration environments

    Deploy

    Install locally

    Local deployment and testing on a server or computer of your choice

    Download

    AWS

    Run on your AWS infrastructure

    Launch

    Azure

    Run on your Azure infrastructure

    Launch

Run HiveMQ on Docker

Docker is one of the simplest ways to try HiveMQ and MQTT. For information about HiveMQ clusters and production use on Docker, see HiveMQ on Docker Hub and the HiveMQ User Guide.

Requirements

  • A running Docker installation.

  • A Bash shell to run the sample data script.

Start Your Broker on Docker

  1. On the How to deploy your broker page, select Docker.

    If you selected the Lab Package, HiveMQ automatically generates a license key for a free Lab license.

  2. From the version drop-down menu, select the latest HiveMQ version or the most recent Long Term Support (LTS) version. This guide uses the latest HiveMQ version.

  3. In the Run HiveMQ on Docker section, click the copy icon next to the command.

    The command sets your license key as an environment variable and starts the broker. The command contains the license key for the selected license. You do not need to edit the command.

  4. Open a terminal window and run the command that you copied.

  5. When your broker starts, click View broker.

    On the page of your new broker, a Broker connected! notice confirms that your broker is connected to the HiveMQ Platform with Data Intelligence enabled.

  6. To continue the onboarding flow, click Next, get data flowing.

Send Sample Data to Your Broker

After your HiveMQ broker starts, you can connect any MQTT client to the broker on port 1883.

In this procedure, you send simulated telemetry to your new broker. Simulated telemetry is sample device data, such as machine states and throughput values. A script uses the MQTT CLI to generate the data. The MQTT CLI is part of the HiveMQ software bundle. To run the script, you need only a Bash shell. With sample data, you can try Contextualize in the HiveMQ Platform before you connect your own devices.

  1. On the Get data flowing page, select the Use simulated data option.

  2. If the Docker tab is not open, click the Docker tab.

  3. Click the copy icon next to the script.

  4. Open a new terminal window and run the script that you copied. Leave the script running.

After a minute or two, a Data is flowing! notice confirms that data reaches your broker.

To continue the onboarding flow, go to Organize Your Data into a Namespace. To test the broker with your own MQTT clients first, see Connect Your Own MQTT Clients to Your HiveMQ Broker.

Deploy HiveMQ on Kubernetes with the HiveMQ Platform Operator

The HiveMQ Platform Operator for Kubernetes manages your HiveMQ broker deployments in a Kubernetes environment. With the operator, you can install, scale, configure, and monitor HiveMQ Enterprise MQTT Brokers and HiveMQ Enterprise Extensions.

Requirements

  • Kubernetes 1.24.x or higher.

  • Helm 3.10.x or higher.

  • The Kubernetes command-line tool kubectl.

Deploy Your Broker on Kubernetes

  1. On the How to deploy your broker page, select Kubernetes.

    If you selected the Lab Package, HiveMQ automatically generates a license key for a free Lab license.

  2. Click Install the HiveMQ Platform Operator.

  3. In the expanded section, click the copy icon next to the first command.

    The command adds the HiveMQ Helm repository to your local Helm setup and installs the HiveMQ Platform Operator.

  4. Open a terminal window and run the command that you copied.

  5. Click Install the broker.

  6. In the expanded section, click the copy icon next to the command.

    The command deploys the broker in your Kubernetes cluster and enables Data Intelligence for the broker pods. Data Intelligence requires HiveMQ Platform Helm chart 0.3.0 or higher.

  7. In your terminal window, run the command that you copied.

    For additional setup options, see the configuration guide.

  8. To reach the HiveMQ Control Center from your machine, click the copy icon next to the port-forward command.

  9. In your terminal window, run the command that you copied.

    The HiveMQ Control Center is available at http://localhost:8080/v2. The default username is admin, and the default password is hivemq.

  10. To connect MQTT clients from your machine, click the copy icon next to the command that forwards the MQTT service.

  11. Open a second terminal window and run the command that you copied.

    MQTT clients can connect on localhost:1883.

Your broker is now connected to the HiveMQ Platform with Data Intelligence enabled.

Next Steps

To learn more about the operator and about Helm-based deployment and management of your HiveMQ Enterprise MQTT Broker, see HiveMQ Platform Operator for Kubernetes.

Install HiveMQ Locally on a Server or Computer of Your Choice

Use this option to run a self-managed HiveMQ Enterprise MQTT Broker from a ZIP download package.

Requirements

  • Windows, Linux, or macOS.

  • OpenJDK JRE 21.x.x or 25.x.x.

  • 4 GB RAM, 4 CPUs, and 100 GB disk space with 900 IOPS or higher. For more information, see HiveMQ System Requirements.

  • A Bash shell to run the sample data script.

Start Your Broker Locally

  1. On the How to deploy your broker page, select Install locally.

    If you selected the Lab Package, HiveMQ automatically generates a license key for a free Lab license.

  2. In the Download section, click Download the HiveMQ ZIP.

  3. From the version drop-down menu, select the latest HiveMQ version or the most recent Long Term Support (LTS) version. This guide uses the latest HiveMQ version.

  4. In the Install and start the broker section, select Install on Linux/macOS or Install on Windows.

  5. Click the copy icon next to the installation command.

    The command contains the license key for the selected license. You do not need to edit the command.

  6. Open a terminal window and run the command that you copied.

  7. When your broker starts, click View broker. The startup can take a few minutes.

    On the page of your new broker, a Broker connected! notice confirms that your broker is connected to the HiveMQ Platform with Data Intelligence enabled.

  8. To continue the onboarding flow, click Next, get data flowing.

By default, the HiveMQ broker listens on port 1883 on all network interfaces. To learn more about HiveMQ broker installation, see General HiveMQ Broker Installation Information.

Send Sample Data to Your Broker

After your HiveMQ broker starts, you can connect any MQTT client to the broker on port 1883.

In this procedure, you send simulated telemetry to your new broker. Simulated telemetry is sample device data, such as machine states and throughput values. A script uses the MQTT CLI to generate the data. The MQTT CLI is part of the HiveMQ software bundle. To run the script, you need only a Bash shell. With sample data, you can try Contextualize in the HiveMQ Platform before you connect your own devices.

  1. On the Get data flowing page, select the Use simulated data option.

  2. Click the Local installation tab.

  3. In the Publish Sample data section, click the copy icon next to the script.

  4. Open a new terminal window and go to your HiveMQ installation folder.

    The ZIP file extracts to a folder named hivemq-<version>. The installation folder contains the bin and tools folders. The script finds the MQTT CLI only when the script runs from the installation folder.

  5. Save the script from your clipboard to a file:

    • macOS: Run pbpaste > simulate-data.sh.

    • Linux and WSL: Run cat > simulate-data.sh, paste the script, press Enter, and then press Ctrl+D.

  6. Run the script, and leave the script running:

    bash simulate-data.sh

    The script prints status messages, such as 40 topics under DemoCorp/Site01/Production/#.

After a minute or two, a Data is flowing! notice confirms that data reaches your broker.

To continue the onboarding flow, go to Organize Your Data into a Namespace. To test the broker with your own MQTT clients first, see Connect Your Own MQTT Clients to Your HiveMQ Broker.

Deploy HiveMQ on Amazon Web Services (AWS EC2 Quick-Launch)

Pre-built Amazon Machine Images (AMIs) let you deploy a HiveMQ trial instance on AWS EC2. The HiveMQ Quick-Launch installation sets up a fully operational HiveMQ instance on AWS EC2 in your AWS account.

  1. On the How to deploy your broker page, select AWS.

    If you selected the Lab Package, HiveMQ automatically generates a license key for a free Lab license.

  2. Follow the steps in Quick-Launch HiveMQ on an AWS EC2 Instance. The steps cover the AMI, the instance type, settings and security, and the launch of your broker.

  3. In your browser, go to http://<host>:8080/v2. Replace <host> with the public address of your installation.

  4. Log in to the HiveMQ Control Center with the default username admin and the default password hivemq.

  5. On the HiveMQ Platform, in the Log in and apply your license section, click the copy icon next to the license key.

  6. In the Control Center, go to Licenses > License Key > Add license key, and paste your license key.

  7. On the HiveMQ Platform, in the Enable Data Intelligence section, click the copy icon next to the environment variable.

  8. Set the Log-Based Cluster Transport variable on your broker.

  9. Restart your broker.

MQTT clients can connect to your broker on port 1883.

Next Steps

To learn how to launch a production-ready HiveMQ cluster on AWS EC2, see Build an Elastic High-Availability HiveMQ Cluster on AWS EC2.

Deploy HiveMQ on Azure with an ARM Quickstart Template

Azure Resource Manager (ARM) is the deployment and management service for Azure.

The HiveMQ Virtual Machines Cluster ARM template deploys a cluster of HiveMQ virtual machines to Azure. You select the number of HiveMQ instances. Each HiveMQ instance (node) is one virtual machine. The template installs the HiveMQ Azure Cluster Discovery Extension on each node. The extension enables the HiveMQ cluster nodes to discover each other dynamically. The nodes exchange information regularly through Azure blobs in an Azure Blob Storage container.

Requirements

  • A Microsoft Azure account.

  • A GitHub account.

Deploy Your HiveMQ Cluster with an ARM Quickstart Template

Before you start, make sure that the sign-in information for your Microsoft account is available.
  1. On the How to deploy your broker page, select Azure.

    If you selected the Lab Package, HiveMQ automatically generates a license key for a free Lab license.

  2. Go to the HiveMQ Azure Cluster Discovery Extension repository on GitHub and open arm-quickstart-templates/hivemq-vm-cluster.

  3. On the HiveMQ Virtual Machine Cluster page, click Deploy to Azure.

  4. To complete the deployment, follow the steps in Deploy Your HiveMQ Cluster with an ARM Quickstart Template in the HiveMQ User Guide.

  5. In your browser, go to http://<host>:8080/v2. Replace <host> with the public address of your installation.

  6. Log in to the HiveMQ Control Center with the default username admin and the default password hivemq.

  7. On the HiveMQ Platform, in the Log in and apply your license section, click the copy icon next to the license key.

  8. In the Control Center, go to Licenses > License Key > Add license key, and paste your license key.

  9. On the HiveMQ Platform, in the Enable Data Intelligence section, click the copy icon next to the environment variable.

  10. Set the Log-Based Cluster Transport variable on every broker node.

  11. Restart every broker node.

MQTT clients can connect to your cluster on port 1883.

Next Steps

3. Connect Your Own MQTT Clients to Your HiveMQ Broker

After your broker runs, you can connect your own MQTT clients to the broker on port 1883. This section uses the MQTT CLI, an open-source MQTT client that is part of the HiveMQ software bundle.

The commands assume that the MQTT clients and the broker run on the same machine. If the clients and the broker run on different machines, replace localhost with the address of your broker.

Start the MQTT CLI

Open a terminal window, and start the MQTT CLI in shell mode. The command depends on how you run HiveMQ:

  • Install locally (Linux/macOS): In your HiveMQ installation folder, run ./tools/mqtt-cli/bin/mqtt shell.

  • Install locally (Windows): Install the MQTT CLI for Windows. In the extracted folder, run .\mqtt-cli.exe shell.

  • Docker: Run docker exec -it hivemq /opt/hivemq/tools/mqtt-cli/bin/mqtt shell.

  • Kubernetes: Keep the port-forward for the MQTT service running. Use an MQTT client on your machine, such as a local installation of the MQTT CLI.

Connect Two MQTT Clients

  1. To connect an MQTT client with the identifier testClient1 to your HiveMQ broker, enter the following command in the MQTT CLI shell:

    con --host localhost --identifier testClient1

    The MQTT CLI shows information about the connection.

  2. To create a second MQTT client, open a second terminal window and start the MQTT CLI in shell mode again. Keep the first window open.

  3. In the second window, connect a client with the identifier testClient2:

    con --host localhost --identifier testClient2

Test Publish and Subscribe

  1. In the second window, subscribe testClient2 to the topic testTopic:

    sub --topic testTopic --stay

    With the --stay option, the client waits for messages and shows incoming messages in the window.

  2. In the first window, use testClient1 to publish the message Hello to the topic testTopic:

    pub --topic testTopic --message "Hello"

    The message Hello appears in the terminal window of the second client.

  3. To publish another message, enter the following command in the first window:

    pub --topic testTopic --message "Goodbye"
The MQTT CLI also accepts short options. In the con command, -s is short for --secure. In the sub command, -s is short for --stay.

View Your MQTT Clients and Topics

Monitor Client Activity on the HiveMQ Control Center

The HiveMQ Control Center provides metrics that help you manage and analyze your HiveMQ installation. The detailed information helps you keep an overview of your installation and identify irregular client behavior quickly.

  1. In your browser, go to http://localhost:8080/v2.

    If the login dialog for the HiveMQ Control Center opens, your HiveMQ broker is running:

    HiveMQ Control Center login dialog
  2. Log in with the default username admin and the default password hivemq.

  3. To see the client activity that you created, check the Dashboard:

    HiveMQ Control Center Overview Dashboard
  4. To view more information about the two MQTT clients that you connected, open the Clients view.

4. Organize Your Data into a Namespace

After data flows through your connected broker, use the Contextualize layer of the HiveMQ Platform to add structure and meaning to the data. The simulated data appears as Ungoverned MQTT Traffic on the Discovery tab of Contextualize.

  1. On the page of your broker, click Govern data.

  2. On the Contextualize Data page, click Discovery to see the ungoverned MQTT traffic that flows through your broker.

    Ungoverned traffic consists of the MQTT topics that the broker detected and that no namespace covers.

  3. On the Discover your ungoverned traffic page, click Next to start a tour of the discovery workflow.

    The Ungoverned data panel lists all discovered topics.

  4. On the Select Topics to Add to Your Namespace page, select the topics in the Ungoverned data list that you want to govern.

  5. To add the selected topics to your namespace and continue, click Approve into namespace.

  6. On the Namespace page, select the name of your broker and click Activate <#> items.

    The HiveMQ Platform governs all data that flows through the nodes that you activate. A notification banner confirms that the approved topics are in your namespace.

The Unified Namespace (UNS) that you created defines which topics exist, how payloads are structured, and which data types are expected. You can refine your namespace at any time. For more information, see What is a Unified Namespace.

5. Check the Health of Your Data

The HiveMQ Platform continuously compares the live traffic from your connected brokers with your namespace definitions. In this step, you review the results.

  1. In the top navigation, click Analyze.

    The Data Health dashboard opens. The dashboard shows in real time how well your live MQTT traffic matches the namespace definitions that you created in Contextualize. The dashboard provides metrics in total and for each broker. Use the metrics to verify whether the data that your broker receives is reliable.

  2. To see whether governed traffic fails to match its namespace definition, click the Deviations tab.

    Each connected broker detects deviations locally and reports the deviations to the HiveMQ Platform.

  3. To inspect the details and decide which action to take, click a deviation.

The simulated data script generates deviations to help you understand how the Data Health feature works.

Next Steps

You now have connected, contextualized, and analyzed data. The last layer of the HiveMQ Platform is Act. In the Act layer, AI agents observe your governed data, reason over the data, and take actions that your team approves.

Act is in public preview. Features and behavior can change before general availability.
  • To learn how agents work, click Act in the top navigation. On the Act page, click See how it works to follow an introductory tour. The tour introduces the Marketplace, Templates, Deployed Agents, and Networks areas of the Act layer.

  • To learn more about the HiveMQ Control Center, see HiveMQ Control Center.

  • To learn more about the MQTT CLI, see MQTT CLI.

    .The Explore page

After you create your account, HiveMQ Platform opens the Explore page. The Getting started card lists four tasks and tracks your progress:

  • Connect a broker

  • Start streaming data

  • Discover ungoverned traffic and create a namespace

  • Deploy an agent

You can return to the Explore page at any time to see which tasks are complete. For more information, see Explore.