# How to pass device token to sns

**URL:** <https://discourse.nodered.org/t/how-to-pass-device-token-to-sns/5687>\
**Category:** General\
**Created:** [11 December 2018 19:06 UTC](https://discourse.nodered.org/t/how-to-pass-device-token-to-sns/5687 "2018-12-11T19:06:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akhilendharreddy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/akhilendharreddy/32/6953_2.png) [@akhilendharreddy](https://discourse.nodered.org/u/akhilendharreddy)\
**Post date:** [11 December 2018 19:06 UTC](https://discourse.nodered.org/t/how-to-pass-device-token-to-sns/5687/1 "2018-12-11T19:06:38Z")

</div>

Hi, i am trying integrate AWS SNS in node red, where firstly i have to send the deviceToken to register particular device, i am trying to use SNS node where i can manually set the token, but i have to pass as input from function node, how can i achieve this?
