Step 3: Pass the JWT Token to Search
Once you have your token, you’ll need to pass it to the Search experience. Depending on your integration path (JS Snippet or the Subdomain option), the instructions will be slightly different. As a reminder on the two options, visit our guide on how to create a search results page.
For the JS Snippet integration option, call:
AnswersExperienceFrame.init({'tokenHeader': 'REPLACE_ME_TOKEN'});
For the Subdomain option, call:
AnswersExperience.init({'tokenHeader': 'REPLACE_ME_TOKEN'});
<% elem.innerText %>