Step 2: Pass the JWT 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 .

  1. For the JS Snippet integration option, call

    CopyCopied!
    AnswersExperienceFrame.init({'token': 'REPLACE_ME_TOKEN'});
  2. For the Subdomain option, call

    CopyCopied!
    AnswersExperience.init({'token': 'REPLACE_ME_TOKEN'});