Skip to main content

Connecting to the Cloud

Before sending data to Ubidots, you need to set up your device and integration within the HARDWARIO Cloud. This tutorial will walk you through each step required to connect via a webhook connector. If you have not yet completed the initial Cloud setup steps, you can follow the instructions here: HARDWARIO Cloud Documentation.


Step-by-Step Instructions

  1. Create a New Connector

    To establish communication with Ubidots, go to the Connectors section in the left-hand menu.
    Click + New Connector and configure the following:
    Name – give your connector a name
    Type – select Webhook for Ubidots integration
    Trigger – choose Data
    Tag – assign the tag you created earlier

    HARDWARIO Cloud CREATE NEW CONNECTOR dialog with name, up direction, webhook type, data trigger, and tags fields


  1. Transform Data for Ubidots Format

    Ubidots requires a specific data format. You need to adjust your device data using a transformation code.
    In the connector page, scroll down to the Transformation section and click the magnifying glass icon 📄🔍 to open the code editor.

    Connector page's Transformation section with the code editor icon next to the default webhook transformation code


  1. Insert the Transformation Code

    Add the transformation logic that converts incoming data to a Ubidots-compatible format.

    Edit connector view with the transformation code editor and the preview section for testing the output

    Example of transformation code here:


  1. Set Ubidots Token in Headers

    Make sure to include your Ubidots device token in the header of the transformation code to authorize data transmission.

Ubidots device detail with the Token field highlighted and the Show control for revealing the token value


  1. Assign Devices to Connector

    Scroll down and select which devices (with the matching tag) should be connected.
    On the left side, you'll see incoming data from the device.
    On the right side, you'll see the transformed data being sent to Ubidots.

Connector preview: incoming device message on the left and the transformed Ubidots payload with token header on the right


Once everything is properly configured, your device’s data should begin flowing into Ubidots automatically.

Video Tutorial

tip

If you need further assistance or a visual demonstration of the process described in this guide, consult the Video Guide.