# Upload device text config via MQTT

**URL:** https://community.cumulocity.com/t/upload-device-text-config-via-mqtt/702
**Category:** Forum
**Tags:** cumulocity
**Created:** [June 27, 2022, 10:18am UTC](https://community.cumulocity.com/t/upload-device-text-config-via-mqtt/702 "2022-06-27T10:18:46Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)
#### Post date: [June 27, 2022, 12:18pm UTC](https://community.cumulocity.com/t/upload-device-text-config-via-mqtt/702/2 "2022-06-27T12:18:22Z")

</div>

Hi Mauro,

have a look here: [Cumulocity IoT Tips and Tricks - MQTT cheat sheet](https://community.cumulocity.com/t/cumulocity-iot-tips-and-tricks-mqtt-cheat-sheet/7573)  
The topic you need to subscribe is “s/dc/myTemplate” if “myTemplate” is your template id.

Btw. event it is suggested to upload the configuration on request to C8Y you can much easier update the text-based configuration using the static template 113,“configProp1=val1\nprop2=val2\n…” on “s/us” topic especially if the configuration it not very big and only uploaded & updated on agent (re)start.

---

_[View the full topic](https://community.cumulocity.com/t/upload-device-text-config-via-mqtt/702)._
