# Accessing Configuration Parameters in Parser

**URL:** <https://community.tago.io/t/accessing-configuration-parameters-in-parser/527>\
**Category:** Getting Started\
**Created:** [January 22, 2022, 5:01am UTC](https://community.tago.io/t/accessing-configuration-parameters-in-parser/527 "2022-01-22T05:01:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex034/user_avatar/community.tago.io/system/32/24_2.png) [@system](https://community.tago.io/u/system)\
**Post date:** [January 22, 2022, 5:01am UTC](https://community.tago.io/t/accessing-configuration-parameters-in-parser/527/1 "2022-01-22T05:01:35Z")

</div>

@Gary Howell

Hi there,

I assume Configuration Parameters are simply key/value pairs.

I want to store some parameters and user them in the payload parser script.  
If this is possible, how do I access them in the parser?

Also, what is the purpose of the Read/Unread toggle?

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex034/user_avatar/community.tago.io/system/32/24_2.png) [@system](https://community.tago.io/u/system)\
**Post date:** [January 22, 2022, 5:01am UTC](https://community.tago.io/t/accessing-configuration-parameters-in-parser/527/2 "2022-01-22T05:01:36Z")

</div>

@Guilherme Costa

Hi again mate,

Sure you can, you need to access via `device.param`

Here an example, you try to find a param with a x as a key

`const type = device.params.find(param => param.key === "x");`

![image](https://canada1.discourse-cdn.com/flex034/uploads/tagoio1/original/1X/15337a32629c342b6f37c70ec5449a6506f8194d.png)

The read/unread toggle is for alert purposes (may have others as well) you set it if you are aware of it.

---

<div class="post-metadata">

**Author:** ![spulawski](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@spulawski](https://community.tago.io/u/spulawski)\
**Post date:** [February 16, 2023, 8:41pm UTC](https://community.tago.io/t/accessing-configuration-parameters-in-parser/527/3 "2023-02-16T20:41:00Z")

</div>

I want to ask what is the purpose of the Read/Unread toggle too?

And another question: in the future it is possible to change configuration parameters during payload parser?

---

<div class="post-metadata">

**Author:** ![freddy.minuzzi](https://yyz2.discourse-cdn.com/flex034/user_avatar/community.tago.io/freddy.minuzzi/32/415_2.png) [@freddy.minuzzi](https://community.tago.io/u/freddy.minuzzi)\
**Post date:** [February 17, 2023, 2:40pm UTC](https://community.tago.io/t/accessing-configuration-parameters-in-parser/527/4 "2023-02-17T14:40:07Z")

</div>

Hi spulawski,

The read/unread toggle is used depending on the application, It can be used to check weather alerts have been actived or not, for example.

Once it’s activated you’ll know by checking the read/unread property.

At the moment we don’t see the ability of changing the configuration parameters during the payload parser execution coming in the near future.
