# Configure mqtt-broker node from Dashboard

**URL:** <https://discourse.nodered.org/t/configure-mqtt-broker-node-from-dashboard/70645>\
**Category:** General\
**Tags:** node-red-dashboard, mqtt\
**Created:** [15 November 2022 12:33 UTC](https://discourse.nodered.org/t/configure-mqtt-broker-node-from-dashboard/70645 "2022-11-15T12:33:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Josh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/josh/32/62208_2.png) [@Josh](https://discourse.nodered.org/u/Josh)\
**Post date:** [17 November 2022 14:19 UTC](https://discourse.nodered.org/t/configure-mqtt-broker-node-from-dashboard/70645/5 "2022-11-17T14:19:30Z")

</div>

Hi Since you are new to the forum, Please have a look at [this](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506) to attach your flows.  
To answer your question:  
The mqtt-in node doesnt support setting the server details dynamically for various reasons. But, you could do it via environment variables.

Here are the steps:

- Use a change node and set msg.properties(Obtained from UI) to an environmental variable say MY\_ENV\_VAR.
- Open the server details inside your node and enter ${MY\_ENV\_VAR} in the text box. This should allow you to dynamically set the server configs from your UI.

---

_[View the full topic](https://discourse.nodered.org/t/configure-mqtt-broker-node-from-dashboard/70645)._
