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
token
query 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
src
for an<iframe>
in your application: