# Where is the losant.h library

**URL:** <https://forums.losant.com/t/where-is-the-losant-h-library/625>\
**Category:** Help\
**Created:** [September 23, 2017, 4:34am UTC](https://forums.losant.com/t/where-is-the-losant-h-library/625 "2017-09-23T04:34:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chen\_Tea](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@Chen\_Tea](https://forums.losant.com/u/Chen_Tea)\
**Post date:** [September 23, 2017, 4:34am UTC](https://forums.losant.com/t/where-is-the-losant-h-library/625/1 "2017-09-23T04:34:04Z")

</div>

I am first time using losant site. Where and how for me to download the losant.h library to my Arduino ide. I am lost and the examples does no show me how to load it to the IDE. I am beginner so need all the help I can get.

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [September 25, 2017, 2:21pm UTC](https://forums.losant.com/t/where-is-the-losant-h-library/625/2 "2017-09-25T14:21:31Z")

</div>

Hi @Chen_Tea!

No worries we can help. If you are having environment issues, the best place to start would be:

[https://docs.losant.com/getting-started/losant-iot-dev-kits/environment-setup/](https://docs.losant.com/getting-started/losant-iot-dev-kits/environment-setup/)

In this doc, we outline all the steps necessary to set up your Arduino IDE.

If you need me to explain more, I’d be happy to do so.

---

<div class="post-metadata">

**Author:** ![Chen\_Tea](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@Chen\_Tea](https://forums.losant.com/u/Chen_Tea)\
**Post date:** [September 25, 2017, 3:23pm UTC](https://forums.losant.com/t/where-is-the-losant-h-library/625/3 "2017-09-25T15:23:18Z")

</div>

It does not show how to download the Losent.h library to the Arduino IDE. I done all that and it only show how to download the ESP8266 board and connect to the Arduino IDE using Serial. But still not Lusent library link.

 ![](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/1X/677f06bdf711468707faf594c72c7993f90d2513.png)

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [September 25, 2017, 3:32pm UTC](https://forums.losant.com/t/where-is-the-losant-h-library/625/4 "2017-09-25T15:32:23Z")

</div>

Here is the information I think you need:

 ![56 AM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/1X/52c445992e4f827c6c171ac46bda70d3b46fc6cc.jpg)

I just took a screenshot of the documentation I sent in the previous message. On this step, You download the [Losant Arduino Library](https://github.com/Losant/losant-mqtt-arduino), which includes the `Losant.h` file. Once you download the library and add it as a zip to the IDE, the header file will be properly included.

---

<div class="post-metadata">

**Author:** ![Chen\_Tea](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@Chen\_Tea](https://forums.losant.com/u/Chen_Tea)\
**Post date:** [September 29, 2017, 2:05am UTC](https://forums.losant.com/t/where-is-the-losant-h-library/625/5 "2017-09-29T02:05:49Z")

</div>

After I add the master.zip to the library now I got “ArduinoJson.h” library missing error. Where does this comes from? See below

 ![](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/1X/851953f91a72fc4b43ad6c72a71415a54cc77223.png)

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [September 29, 2017, 6:38pm UTC](https://forums.losant.com/t/where-is-the-losant-h-library/625/6 "2017-09-29T18:38:08Z")

</div>

@Chen_Tea,

I recommended taking a look at the Environment Instructions again,

[https://docs.losant.com/getting-started/losant-iot-dev-kits/environment-setup/](https://docs.losant.com/getting-started/losant-iot-dev-kits/environment-setup/)

It takes you through installing the `ArduinoJson` and `PubSubClient` libraries you’ll need to successfully run the firmware. Running through all the steps in the environment instructions should provide the fixes you need.

Normally, if you see a “library missing error” it means dependencies you need are missing. Arduino has a Library manager that takes care of all the hard work for you.
