# Writing events directly to the Tag History Manager

**URL:** <https://forum.inductiveautomation.com/t/writing-events-directly-to-the-tag-history-manager/105266>\
**Category:** Ignition 8.3 Early Access\
**Created:** [April 17, 2025, 11:49pm UTC](https://forum.inductiveautomation.com/t/writing-events-directly-to-the-tag-history-manager/105266 "2025-04-17T23:49:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chad.kienle](https://avatars.discourse-cdn.com/v4/letter/c/e495f1/32.png) [@chad.kienle](https://forum.inductiveautomation.com/u/chad.kienle)\
**Post date:** [April 17, 2025, 11:49pm UTC](https://forum.inductiveautomation.com/t/writing-events-directly-to-the-tag-history-manager/105266/1 "2025-04-17T23:49:15Z")

</div>

I'm looking for some guidance or example code for migrating code that previously wrote directly to the Tag History Manager.  
In Ignition 8.1 we used the GatewayTagHistoryManager's storeHistory() method and a BasicScanclassHistorySet to directly store history for a Tag, which by-passed writing to the Tag. Using the "historyProvider" property of the TagConfiguration we could see if history was enabled on the Tag before directly storing the history. In 8.3 it seems this has changed and the HistorianManager should be used to get a StorageEngine for these write operations? Is there a new dependency we can use to get access to the HistorianManager?
