# Run a gateway script on a remote Gateway

**URL:** <https://forum.inductiveautomation.com/t/run-a-gateway-script-on-a-remote-gateway/32179>\
**Category:** Ignition Early Access\
**Created:** [February 12, 2020, 5:27pm UTC](https://forum.inductiveautomation.com/t/run-a-gateway-script-on-a-remote-gateway/32179 "2020-02-12T17:27:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [February 12, 2020, 7:12pm UTC](https://forum.inductiveautomation.com/t/run-a-gateway-script-on-a-remote-gateway/32179/4 "2020-02-12T19:12:34Z")

</div>

You add the handler under the message section of gateway event scripts on the receiving gateway:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/762180746df2be733c4e475f1232f611e1927ae2.png)  
The messageHandler parameter matches the gateway message handler name (“logger” in the example shown).

---

_[View the full topic](https://forum.inductiveautomation.com/t/run-a-gateway-script-on-a-remote-gateway/32179)._
