Construct the Embed URL
Construct the special embed URL for your Story and append the newly generated JWT in the authentication stage.-
Take your original Story URL and insert
/embed/before the Story’s name and ID. -
Append the JWT as a
tokenquery parameter. The URL should look like the following:- Original URL:
https://<customer>.askwisdom.ai/stories/name-id - Final Embed URL:
https://<customer>.askwisdom.ai/stories/embed/name-id?token=<JWT_FROM_STEP_1>
- Original URL:
-
You can now use this URL as the
srcfor an<iframe>in your application: