Skip to content
Stand with Ukraine flag

Step 1. Provision and connect a Device

Device in ThingsBoard represents a physical or virtual IoT device connected to the platform. Devices publish telemetry and attributes and can receive control commands.

In this section, you will create a new device in ThingsBoard and test its connection to the platform by publishing sample telemetry data to verify successful communication and data processing.


Create a device that will act as the telemetry source for the platform.

  1. From the main menu, navigate to Entities ⇾ Devices.
  2. In the upper-right corner, click + Add device ⇾ Add new device.
  3. Enter a device name, for example Thermometer.
  4. Leave the default device profile unchanged.
  5. Click Add.

The device is successfully created and registered in ThingsBoard.


ThingsBoard provides built-in connectivity examples that allow you to send telemetry on behalf of a device using various messaging protocols. This makes it easy to test connectivity, validate credentials, and confirm that incoming data is processed correctly.

Verify the device connection by publishing test telemetry data:

  1. After adding the device, the “Let’s check connectivity!” dialog opens automatically. Alternatively, open the device details page and click Check connectivity.
  2. Select your shell environment, preferred messaging protocol, and platform-specific client tool.
  3. Copy the generated command and execute it in your terminal. The provided command publishes a temperature value of 25.

After successful telemetry publication:

  • The device status changes from Inactive to Active.
  • The published telemetry appears in the device’s Latest telemetry tab.