# Need Help ASAP: Updating node-red function to work with MQTT

**URL:** <https://www.thethingsnetwork.org/forum/t/need-help-asap-updating-node-red-function-to-work-with-mqtt/51253>\
**Category:** The Things Stack v3\
**Created:** [September 2, 2021, 8:07pm UTC](https://www.thethingsnetwork.org/forum/t/need-help-asap-updating-node-red-function-to-work-with-mqtt/51253 "2021-09-02T20:07:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Johan\_Scheepers](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/johan_scheepers/32/48536_2.png) [@Johan\_Scheepers](https://www.thethingsnetwork.org/forum/u/Johan_Scheepers)\
**Post date:** [September 2, 2021, 8:29pm UTC](https://www.thethingsnetwork.org/forum/t/need-help-asap-updating-node-red-function-to-work-with-mqtt/51253/2 "2021-09-02T20:29:14Z")

</div>

**node-red-contrib-ttn** This package has been deprecated and you need to use now MQTT intergradation.

Search the forum and you will find lots to read and examples on it.

> [@MQTT in Node-RED \[HowTo\]](https://www.thethingsnetwork.org/forum/t/mqtt-in-node-red-howto/39909):
>
> [Node-RED](https://nodered.org/) has built-in support to act as an MQTT client, which can be used with [TTN’s MQTT Data API](https://www.thethingsnetwork.org/docs/applications/mqtt/). warning For new developments, one should not use the The Things Network’s [node-red-contrib-ttn](https://www.npmjs.com/package/node-red-contrib-ttn), which is no longer supported. Setting up the MQTT client The following may seem a lot of steps, but Node-RED will guide one through the initial setup. For the current version V2 as used on the TTN community network: Drop an “mqtt in” node on your flow: [mqtt in] Double-click it: [mqtt in] …

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/need-help-asap-updating-node-red-function-to-work-with-mqtt/51253)._
