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 device in ThingsBoard and verify its connection by publishing sample telemetry data.


Create a device to act as the telemetry source.

  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 for sending telemetry over various messaging protocols. Use them to test connectivity, validate credentials, and confirm that incoming data is received 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 run it in your terminal. It 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.