# Saving configuration data?

**URL:** <https://discuss.dev.twitch.com/t/saving-configuration-data/12144>\
**Category:** Extensions\
**Created:** [September 22, 2017, 11:58pm UTC](https://discuss.dev.twitch.com/t/saving-configuration-data/12144 "2017-09-22T23:58:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syntaf](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/syntaf/32/3374_2.png) [@Syntaf](https://discuss.dev.twitch.com/u/Syntaf)\
**Post date:** [September 22, 2017, 11:58pm UTC](https://discuss.dev.twitch.com/t/saving-configuration-data/12144/1 "2017-09-22T23:58:30Z")

</div>

Hi all,

After reading through the docs, I’m a bit confused on how to save any configuration data for an extension. I have my project built off the boilerplate, so I have config.html, config.js, the live\_ prefixed versions of these as well.

Is the config data just supposed to exist as persistent javascript variables? Do I need to support a database in my backend? How do I store configuration data in twitch extensions?

Thanks for any help,  
Syntaf

---

<div class="post-metadata">

**Author:** ![dhQk](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dhqk/32/3386_2.png) [@dhQk](https://discuss.dev.twitch.com/u/dhQk)\
**Post date:** [September 23, 2017, 12:02am UTC](https://discuss.dev.twitch.com/t/saving-configuration-data/12144/2 "2017-09-23T00:02:04Z")

</div>

For now yes you need to persist data through your EBS with a database or some other method to persist.

---

<div class="post-metadata">

**Author:** ![george](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/george/32/120_2.png) [@george](https://discuss.dev.twitch.com/u/george)\
**Post date:** [September 23, 2017, 12:02am UTC](https://discuss.dev.twitch.com/t/saving-configuration-data/12144/3 "2017-09-23T00:02:15Z")

</div>

At this time you need to build a backend (EBS) on your own servers to store config data if required. The roadmap does mention a configuration service is in progress but it is not available yet.

---

<div class="post-metadata">

**Author:** ![Syntaf](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/syntaf/32/3374_2.png) [@Syntaf](https://discuss.dev.twitch.com/u/Syntaf)\
**Post date:** [September 23, 2017, 2:18am UTC](https://discuss.dev.twitch.com/t/saving-configuration-data/12144/4 "2017-09-23T02:18:42Z")

</div>

Ah, I see. Thanks for the replies, I guess I’ll just host my extension on heroku or something.

What is the best way to unique identity each extension user while sending data to the backend then? I figure I could use the channelid to recognize each channel with the extension.

---

<div class="post-metadata">

**Author:** ![rbartlet](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/rbartlet/32/3219_2.png) [@rbartlet](https://discuss.dev.twitch.com/u/rbartlet)\
**Post date:** [October 3, 2017, 10:29pm UTC](https://discuss.dev.twitch.com/t/saving-configuration-data/12144/5 "2017-10-03T22:29:01Z")

</div>

See [https://dev.twitch.tv/docs/extensions#architecture-overview](https://dev.twitch.tv/docs/extensions#architecture-overview) and read the section that talks about Opaque IDs.
