# How can i save the access token of alexa to watson assistant context variable?

I have integrated my watson assistnt chat bot with alexa using the link below
<a class="a a--md" elv="true" href="https://github.com/IBM/alexa-skill-watson-assistant">https://github.com/IBM/alexa-skill-watson-assistant</a>

now i am using account linking feature in alexa. i need to fetch the alexa access token and need to save in context variable..i need to get that value in my dialog node not in node js. how can i capture that value in my dialog node.

##### Post Metadata
- Posted at: over 6 years ago
- Author title: Alexa Skills Developer | Actions on Google Developer | IBM Watson Assistant dev| Android Developer
- Net upvotes: 1


## Comments
### Comment 1

Hello, thank you for your question.

For starters, you could use a Webhook to go fetch the access token from AWS, then it will be saved as context which you can display in dialog. 

Otherwise, on any given message call if your node.js app already knows the access token, it can just add it as a new context variable and then dialog can find it. 

Hope this helps!

##### Comment Metadata
- Posted at: over 6 years ago




## Related Product
[IBM watsonx Orchestrate](https://www.g2.com/products/ibm-watsonx-orchestrate/reviews)

## Related Category
[AI Agent Builders](https://www.g2.com/categories/ai-agent-builders)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


