HiveMQ Cloud is an IoT platform that supports the MQTT protocol. You can create an MQTT broker and connect your devices using the HiveMQ Console.
Creating a HiveMQ Cloud Account
- Go to the HiveMQ Cloud Console.
- If you don’t have an account, click the Sign Up button to register.
- If you have an account, click the Login button to sign in.
Creating a New Cluster
- Go to the Clusters section and click the Create Cluster option.
- Specify a name for the cluster (e.g., “MyFirstCluster”).
- Select the cluster’s location (e.g., ‘Europe’ or “North America”).
- Select one of the free or paid plans.
- Click the CREATE button to create the cluster.
Connecting via the Web Client
- Click the Web Client tab in the left menu.
- On the screen that opens, enter the connection details:
- Host: The connection URL provided when you created the cluster (usually in the format *.hivemq.cloud).
- Port: 1883 (unsecured) or 8883 (SSL).
- Client ID: Specify a random ID.
- Username & Password: The credentials you created in the HiveMQ Console.
- Click the Connect button.
After completing these steps, you can send (publish) messages or listen for (subscribe to) messages on a specific topic.