what do you want to do exactly? Do you need to read the value of the parameter or to set it to desired one?
PFB my requirements:
1.How to connect kognitio data source by using JS API.
2.How to control tableau dashboard parameter filter by using JS API.