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.
https://<customer>.askwisdom.ai/stories/name-id
Final Embed URL:
https://<customer>.askwisdom.ai/stories/embed/name-id?token=<JWT_FROM_STEP_1>
3. Embed in your Application
You can now use this URL as thesrc
for an <iframe>
in your application: