Here is how to get started with TagoIO.

Log in to www.tago.io. If you haven’t created an account yet, signup for free now.

Step 1. Add a device

Start by adding a device to your account. This will provide a link between the data in your account and the external world.

In this example, let’s send a variable called temperature from your device to your account.

1 - Click the Device button;
2 - Click the Add Device button;
3 - Look for the type HTTPS and select it;
4 - In the field "Device Name", add any name to your device;
5 - Click on the Create Device button.

For security, all devices should use a valid device-token when accessing TagoIO. One device-token is generated when a device is created and it is available for you to copy if you want to insert it in a real device (Step 3).

Step 2. Build a dashboard

You can build great dashboards to visualize data, interact with your devices and share with others. You can build it with the widgets that best fit your needs.

Click Dashboards on the left side bar, click + then type the name of your dashboard, and click on Save.

Let’s add one widget to show the variable temperature. Click + (the top right button), and pick the widget Gauge.

Start the configuration of this widget by adding the variable to be displayed. Click on the search area then type the variable name that will be sent by the device as temperature, then select a bucket and a device click on select as new option below the name, and click Save and your widget will be ready!

Note: if the variable ‘temperature’ already exists in your data bucket, it will be shown on the table.

As soon as your device starts to send data, the values will be showed on this dial.

Step 3. Send data

Now that you completed the setup of your account, you are ready to send data from your electronic devices using our APIs. You can use one of our SDKs designed for your platform.

Now, you can simulate your device by using any tool that transfers data from and to a server with HTTP. Below, you will learn how to quickly send data depending on the OS that you are using.

Or you can use our Device Emulator to easily send data directly from your account.

Mac or Linux Command Line

Let’s use cURL to post the data. Enter with the following command replacing the YOUR_DEVICE_TOKEN by that token created earlier for your device.

curl -H "Content-Type: application/json" -H "Device-Token: YOUR_DEVICE_TOKEN" -X POST -d '{"variable":"temperature","value":27,"unit":"F"}' https://api.tago.io/data

Try to send more data by changing the value of the ‘temperature’. Keep an eye on your dashboard. You should see something like this.

https://cdn.elev.io/file/uploads/VkSrjeSoWpdg7LeGdh2jKUEagxh0dd_cO83j6HUV_6s/qq8SaOoA__kFsp7xZnwLw0Da9YQ-lzS5WMqIGHTg88c/dial-ph0.png


Windows

To send data, there are some tools that support HTTP communication like the Postman. Considering the same input as used above, you can make a POST by entering the url, Device-Token, and configuration in the Postman like this:

https://cdn.elev.io/file/uploads/VkSrjeSoWpdg7LeGdh2jKUEagxh0dd_cO83j6HUV_6s/EhT2lMh4rqGlmm_pltnPnBeCbFQVvcJBW69CBVG27C4/postman1-OU0.png

Then, input the variable information in the JSON body. Make sure that you select the same configuration as showed in the picture below.

https://cdn.elev.io/file/uploads/VkSrjeSoWpdg7LeGdh2jKUEagxh0dd_cO83j6HUV_6s/fABHAKFoogaiM9bHUL9LI9b9huEH4CSvvCdeQx_x-iM/postman2-rSE.png

The response should looks like this.

https://cdn.elev.io/file/uploads/VkSrjeSoWpdg7LeGdh2jKUEagxh0dd_cO83j6HUV_6s/rxJ1GsCvpXHq6H2aA-pc9XvUHd874uZOPv-k7fb5lrI/postman3-wEs.png


https://cdn.elev.io/file/uploads/VkSrjeSoWpdg7LeGdh2jKUEagxh0dd_cO83j6HUV_6s/3lGm2Tj81N0HVgos3k4gBblJDvipqlWEefJirQCH9QA/dial_27-m4I.png


Step 4.  Create complete solutions

This is just the beginning! Check out how powerful TagoIO is to deploy solutions in production.

Learn how to share dashboards and data buckets.

Create powerful analysis in realtime using our script capabilities in Java Script. Program actions to be taken based on your rules.

Learn more about our powerful API’s. And check out the tutorials and SDKs prepared for different boards and applications.