# Basic example to manage "context.getTagManager().subscribe"

**URL:** <https://forum.inductiveautomation.com/t/basic-example-to-manage-context-gettagmanager-subscribe/3325>\
**Category:** Module Development\
**Created:** [September 23, 2011, 3:43pm UTC](https://forum.inductiveautomation.com/t/basic-example-to-manage-context-gettagmanager-subscribe/3325 "2011-09-23T15:43:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [September 23, 2011, 3:43pm UTC](https://forum.inductiveautomation.com/t/basic-example-to-manage-context-gettagmanager-subscribe/3325/1 "2011-09-23T15:43:05Z")

</div>

Hi,

I’m looking for a basic example to manage an sql tag subsciption  
with the context.getTagManager().subscribe.

the call for the subscribtion and the function to use for the datachange ?

Regards.
