# How to add a token as a parameter and reference it in the HTTP Service destination step

**URL:** <https://community.synatic.com/t/how-to-add-a-token-as-a-parameter-and-reference-it-in-the-http-service-destination-step/321>\
**Category:** Calculators\
**Tags:** helper-functions\
**Created:** [February 7, 2023, 3:57pm UTC](https://community.synatic.com/t/how-to-add-a-token-as-a-parameter-and-reference-it-in-the-http-service-destination-step/321 "2023-02-07T15:57:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![navessa](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.synatic.com/navessa/32/58_2.png) [@navessa](https://community.synatic.com/u/navessa)\
**Post date:** [February 7, 2023, 3:57pm UTC](https://community.synatic.com/t/how-to-add-a-token-as-a-parameter-and-reference-it-in-the-http-service-destination-step/321/1 "2023-02-07T15:57:56Z")

</div>

If you require to **add a token as a parameter** and **reference it in the HTTP Service destination step** , please follow the below instructions:

1. The token is first added as a parameter using JSON code in the Calculator step as highlighted in the below image.

![image](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/1X/04d2d3da4d9f6dbeb045e2b5b570c4fcac28a001.png)

1. To reference the token as a parameter in the HTTP Service destination step, use **@parameters.token** as it was created in the Calculator step. The below page is an example of how the token is being referenced in the HTTP Service destination step as a header.

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/synatic/original/1X/9eb9b73d4978e2a117ef4ee30d84bcbe70578b48.png)
