# Losant device data to Azure

**URL:** <https://forums.losant.com/t/losant-device-data-to-azure/3664>\
**Category:** Help\
**Tags:** workflow\
**Created:** [March 12, 2021, 9:11pm UTC](https://forums.losant.com/t/losant-device-data-to-azure/3664 "2021-03-12T21:11:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [March 12, 2021, 9:11pm UTC](https://forums.losant.com/t/losant-device-data-to-azure/3664/1 "2021-03-12T21:11:08Z")

</div>

I need to create a workflow that will send out some data to a platform built upon the Azure IoT Hub.  
Trying to gather information from the Azure IoT SDK kits, but I thought I had seen an example of this in this forum, but now I can only find info on how to do it the opposite way.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [March 12, 2021, 10:13pm UTC](https://forums.losant.com/t/losant-device-data-to-azure/3664/3 "2021-03-12T22:13:09Z")

</div>

The example you’re referring to may be [this](https://docs.losant.com/guides/how-to-send-device-telemetry-from-azure-to-losant/), but you are correct. This guide discusses how to get telemetry data from Azure to Losant, and you need to go from Losant to Azure.

I found _Azure IoT Hub’s API documentation_ by Googling that phrase. Their documentation is where you will find the majority of the information you’ll need to work with their service -  
[https://docs.microsoft.com/en-us/rest/api/iothub/](https://docs.microsoft.com/en-us/rest/api/iothub/)

As for how to apply this in a Losant workflow, you’d want to use the [HTTP Node](https://docs.losant.com/workflows/data/http/) to make calls to this API. I also assume you’ll need to [create a token](https://docs.microsoft.com/en-us/rest/api/apimanagement/apimanagementrest/azure-api-management-rest-api-authentication) in Azure’s interface, save that token to a [workflow global](https://docs.losant.com/workflows/overview/#workflow-globals), and use it to authenticate your requests using an Authorization Header in the node.
