[{"data":1,"prerenderedAt":662},["ShallowReactive",2],{"navigation_docs_en":3,"-en-guides-embed-widget":333,"-en-guides-embed-widget-surround":657},[4,8,26,52,94,124,174,188,198,224,234,244,289,319],{"title":5,"path":6,"stem":7},"Introduction","\u002Fen\u002Fintroduction","en\u002F01.introduction",{"title":9,"path":10,"stem":11,"children":12},"Getting started","\u002Fen\u002Fgetting-started","en\u002F02.getting-started\u002Findex",[13,14,18,22],{"title":9,"path":10,"stem":11},{"title":15,"path":16,"stem":17},"Initial setup","\u002Fen\u002Fgetting-started\u002Finitial-setup","en\u002F02.getting-started\u002F01.initial-setup",{"title":19,"path":20,"stem":21},"Create your first agent","\u002Fen\u002Fgetting-started\u002Ffirst-agent","en\u002F02.getting-started\u002F02.first-agent",{"title":23,"path":24,"stem":25},"Make a test call","\u002Fen\u002Fgetting-started\u002Ftest-call","en\u002F02.getting-started\u002F03.test-call",{"title":27,"path":28,"stem":29,"children":30},"Concepts","\u002Fen\u002Fconcepts","en\u002F03.concepts\u002Findex",[31,32,36,40,44,48],{"title":27,"path":28,"stem":29},{"title":33,"path":34,"stem":35},"Voice agent","\u002Fen\u002Fconcepts\u002Fagent","en\u002F03.concepts\u002F01.agent",{"title":37,"path":38,"stem":39},"Flow","\u002Fen\u002Fconcepts\u002Fflow","en\u002F03.concepts\u002F02.flow",{"title":41,"path":42,"stem":43},"Runtime","\u002Fen\u002Fconcepts\u002Fruntime","en\u002F03.concepts\u002F03.runtime",{"title":45,"path":46,"stem":47},"Organization and tenants","\u002Fen\u002Fconcepts\u002Forganization","en\u002F03.concepts\u002F04.organization",{"title":49,"path":50,"stem":51},"Prompt Builder","\u002Fen\u002Fconcepts\u002Fprompt-builder","en\u002F03.concepts\u002F05.prompt-builder",{"title":53,"path":54,"stem":55,"children":56},"Guides","\u002Fen\u002Fguides","en\u002F04.guides\u002Findex",[57,58,62,66,70,74,78,82,86,90],{"title":53,"path":54,"stem":55},{"title":59,"path":60,"stem":61},"Create your first agent step-by-step","\u002Fen\u002Fguides\u002Fcreate-first-agent","en\u002F04.guides\u002F01.create-first-agent",{"title":63,"path":64,"stem":65},"Use the Flow Builder","\u002Fen\u002Fguides\u002Fuse-flow-builder","en\u002F04.guides\u002F02.use-flow-builder",{"title":67,"path":68,"stem":69},"Publish and receive calls","\u002Fen\u002Fguides\u002Fpublish-agent","en\u002F04.guides\u002F03.publish-agent",{"title":71,"path":72,"stem":73},"Test an agent","\u002Fen\u002Fguides\u002Ftest-agent","en\u002F04.guides\u002F04.test-agent",{"title":75,"path":76,"stem":77},"Transfer to a human","\u002Fen\u002Fguides\u002Ftransfer-to-human","en\u002F04.guides\u002F05.transfer-to-human",{"title":79,"path":80,"stem":81},"Schedule meetings with Cal.com","\u002Fen\u002Fguides\u002Fbook-meetings","en\u002F04.guides\u002F06.book-meetings",{"title":83,"path":84,"stem":85},"Send SMS during a call","\u002Fen\u002Fguides\u002Fsend-sms","en\u002F04.guides\u002F07.send-sms",{"title":87,"path":88,"stem":89},"Configure a Phone Book","\u002Fen\u002Fguides\u002Fconfigure-phone-book","en\u002F04.guides\u002F08.configure-phone-book",{"title":91,"path":92,"stem":93},"Embed the voice widget","\u002Fen\u002Fguides\u002Fembed-widget","en\u002F04.guides\u002F09.embed-widget",{"title":95,"path":96,"stem":97,"children":98},"Flow Builder","\u002Fen\u002Fflow-builder","en\u002F05.flow-builder\u002Findex",[99,100,104,108,112,116,120],{"title":95,"path":96,"stem":97},{"title":101,"path":102,"stem":103},"Builder interface","\u002Fen\u002Fflow-builder\u002Finterface","en\u002F05.flow-builder\u002F01.interface",{"title":105,"path":106,"stem":107},"Flow structure","\u002Fen\u002Fflow-builder\u002Fstructure","en\u002F05.flow-builder\u002F02.structure",{"title":109,"path":110,"stem":111},"Flow variables","\u002Fen\u002Fflow-builder\u002Fvariables","en\u002F05.flow-builder\u002F03.variables",{"title":113,"path":114,"stem":115},"Branches and conditions","\u002Fen\u002Fflow-builder\u002Fbranches","en\u002F05.flow-builder\u002F04.branches",{"title":117,"path":118,"stem":119},"Test a flow","\u002Fen\u002Fflow-builder\u002Ftesting","en\u002F05.flow-builder\u002F05.testing",{"title":121,"path":122,"stem":123},"Validation and publishing","\u002Fen\u002Fflow-builder\u002Fvalidation-publishing","en\u002F05.flow-builder\u002F06.validation-publishing",{"title":125,"path":126,"stem":127,"children":128},"Nodes","\u002Fen\u002Fnodes","en\u002F06.nodes\u002Findex",[129,130,134,138,142,146,150,154,158,162,166,170],{"title":125,"path":126,"stem":127},{"title":131,"path":132,"stem":133},"Conversation","\u002Fen\u002Fnodes\u002Fconversation","en\u002F06.nodes\u002F01.conversation",{"title":135,"path":136,"stem":137},"Message","\u002Fen\u002Fnodes\u002Fmessage","en\u002F06.nodes\u002F02.message",{"title":139,"path":140,"stem":141},"Split path","\u002Fen\u002Fnodes\u002Fsplit-path","en\u002F06.nodes\u002F03.split-path",{"title":143,"path":144,"stem":145},"Jump to","\u002Fen\u002Fnodes\u002Fjump-to","en\u002F06.nodes\u002F04.jump-to",{"title":147,"path":148,"stem":149},"Trigger subflow","\u002Fen\u002Fnodes\u002Ftrigger-subflow","en\u002F06.nodes\u002F05.trigger-subflow",{"title":151,"path":152,"stem":153},"Custom action","\u002Fen\u002Fnodes\u002Fcustom-action","en\u002F06.nodes\u002F06.custom-action",{"title":155,"path":156,"stem":157},"Send SMS during the call","\u002Fen\u002Fnodes\u002Fsend-sms-during-call","en\u002F06.nodes\u002F07.send-sms-during-call",{"title":159,"path":160,"stem":161},"Transfer","\u002Fen\u002Fnodes\u002Ftransfer","en\u002F06.nodes\u002F08.transfer",{"title":163,"path":164,"stem":165},"Booking","\u002Fen\u002Fnodes\u002Fbooking","en\u002F06.nodes\u002F09.booking",{"title":167,"path":168,"stem":169},"End call","\u002Fen\u002Fnodes\u002Fend-call","en\u002F06.nodes\u002F10.end-call",{"title":171,"path":172,"stem":173},"Nodes coming soon","\u002Fen\u002Fnodes\u002Fcoming-soon","en\u002F06.nodes\u002F11.coming-soon",{"title":175,"path":176,"stem":177,"children":178},"Knowledge Base","\u002Fen\u002Fknowledge-base","en\u002F07.knowledge-base\u002Findex",[179,180,184],{"title":175,"path":176,"stem":177},{"title":181,"path":182,"stem":183},"Sources","\u002Fen\u002Fknowledge-base\u002Fsources","en\u002F07.knowledge-base\u002F01.sources",{"title":185,"path":186,"stem":187},"Citations","\u002Fen\u002Fknowledge-base\u002Fcitations","en\u002F07.knowledge-base\u002F02.citations",{"title":189,"path":190,"stem":191,"children":192},"Test Center","\u002Fen\u002Ftest-center","en\u002F08.test-center\u002Findex",[193,194],{"title":189,"path":190,"stem":191},{"title":195,"path":196,"stem":197},"Evaluations","\u002Fen\u002Ftest-center\u002Fevaluations","en\u002F08.test-center\u002F01.evaluations",{"title":199,"path":200,"stem":201,"children":202},"API","\u002Fen\u002Fapi","en\u002F09.api\u002Findex",[203,204,208,212,216,220],{"title":199,"path":200,"stem":201},{"title":205,"path":206,"stem":207},"API Channel","\u002Fen\u002Fapi\u002Fapi-channel","en\u002F09.api\u002F01.api-channel",{"title":209,"path":210,"stem":211},"Authentication","\u002Fen\u002Fapi\u002Fauthentication","en\u002F09.api\u002F02.authentication",{"title":213,"path":214,"stem":215},"Webhooks","\u002Fen\u002Fapi\u002Fwebhooks","en\u002F09.api\u002F03.webhooks",{"title":217,"path":218,"stem":219},"Endpoints","\u002Fen\u002Fapi\u002Fendpoints","en\u002F09.api\u002F04.endpoints",{"title":221,"path":222,"stem":223},"Realtime","\u002Fen\u002Fapi\u002Frealtime","en\u002F09.api\u002F05.realtime",{"title":225,"path":226,"stem":227,"children":228},"Integrations","\u002Fen\u002Fintegrations","en\u002F10.integrations\u002Findex",[229,230],{"title":225,"path":226,"stem":227},{"title":231,"path":232,"stem":233},"Cal.com","\u002Fen\u002Fintegrations\u002Fcalcom","en\u002F10.integrations\u002F01.calcom",{"title":235,"path":236,"stem":237,"children":238},"Telephony","\u002Fen\u002Ftelephony","en\u002F11.telephony\u002Findex",[239,240],{"title":235,"path":236,"stem":237},{"title":241,"path":242,"stem":243},"Phone numbers","\u002Fen\u002Ftelephony\u002Fnumbers","en\u002F11.telephony\u002F01.numbers",{"title":245,"path":246,"stem":247,"children":248},"Settings","\u002Fen\u002Fsettings","en\u002F12.settings\u002Findex",[249,250,254,258,262,266,270,274,278,282,285],{"title":245,"path":246,"stem":247},{"title":251,"path":252,"stem":253},"Personal profile","\u002Fen\u002Fsettings\u002Fpersonal-profile","en\u002F12.settings\u002F01.personal-profile",{"title":255,"path":256,"stem":257},"Credentials","\u002Fen\u002Fsettings\u002Fcredentials","en\u002F12.settings\u002F02.credentials",{"title":259,"path":260,"stem":261},"Password","\u002Fen\u002Fsettings\u002Fpassword","en\u002F12.settings\u002F03.password",{"title":263,"path":264,"stem":265},"Two-factor authentication","\u002Fen\u002Fsettings\u002Ftwo-factor","en\u002F12.settings\u002F04.two-factor",{"title":267,"path":268,"stem":269},"Active sessions","\u002Fen\u002Fsettings\u002Fsessions","en\u002F12.settings\u002F05.sessions",{"title":271,"path":272,"stem":273},"Company","\u002Fen\u002Fsettings\u002Fcompany","en\u002F12.settings\u002F06.company",{"title":275,"path":276,"stem":277},"Organization","\u002Fen\u002Fsettings\u002Forganization","en\u002F12.settings\u002F07.organization",{"title":279,"path":280,"stem":281},"Members","\u002Fen\u002Fsettings\u002Fmembers","en\u002F12.settings\u002F08.members",{"title":225,"path":283,"stem":284},"\u002Fen\u002Fsettings\u002Fintegrations","en\u002F12.settings\u002F09.integrations",{"title":286,"path":287,"stem":288},"API Keys","\u002Fen\u002Fsettings\u002Fapi-keys","en\u002F12.settings\u002F10.api-keys",{"title":290,"path":291,"stem":292,"children":293},"Troubleshooting","\u002Fen\u002Ftroubleshooting","en\u002F13.troubleshooting\u002Findex",[294,295,299,303,307,311,315],{"title":290,"path":291,"stem":292},{"title":296,"path":297,"stem":298},"Agent not answering","\u002Fen\u002Ftroubleshooting\u002Fagent-not-answering","en\u002F13.troubleshooting\u002F01.agent-not-answering",{"title":300,"path":301,"stem":302},"Calls dropping","\u002Fen\u002Ftroubleshooting\u002Fcalls-drop","en\u002F13.troubleshooting\u002F02.calls-drop",{"title":304,"path":305,"stem":306},"Flow won't publish","\u002Fen\u002Ftroubleshooting\u002Fflow-not-publishing","en\u002F13.troubleshooting\u002F03.flow-not-publishing",{"title":308,"path":309,"stem":310},"Knowledge Base not responding","\u002Fen\u002Ftroubleshooting\u002Fkb-not-answering","en\u002F13.troubleshooting\u002F04.kb-not-answering",{"title":312,"path":313,"stem":314},"Integration won't connect","\u002Fen\u002Ftroubleshooting\u002Fintegration-not-connecting","en\u002F13.troubleshooting\u002F05.integration-not-connecting",{"title":316,"path":317,"stem":318},"Tests failing","\u002Fen\u002Ftroubleshooting\u002Ftests-failing","en\u002F13.troubleshooting\u002F06.tests-failing",{"title":320,"path":321,"stem":322,"children":323,"page":332},"Legal","\u002Fen\u002Flegal","en\u002F14.legal",[324,328],{"title":325,"path":326,"stem":327},"Privacy Policy","\u002Fen\u002Flegal\u002Fprivacy","en\u002F14.legal\u002F01.privacy",{"title":329,"path":330,"stem":331},"Terms and Conditions","\u002Fen\u002Flegal\u002Fterms","en\u002F14.legal\u002F02.terms",false,{"id":334,"title":91,"body":335,"description":650,"extension":651,"links":652,"meta":653,"navigation":654,"path":92,"seo":655,"stem":93,"__hash__":656},"docs_en\u002Fen\u002F04.guides\u002F09.embed-widget.md",{"type":336,"value":337,"toc":644},"minimark",[338,347,352,374,378,385,396,457,463,577,589,593,604,607,640],[339,340,341,342,346],"p",{},"The voice widget lets visitors of ",[343,344,345],"strong",{},"your own website"," talk to your published agent — no Diska account needed on their side.",[348,349,351],"h2",{"id":350},"prerequisites","Prerequisites",[353,354,355,363],"ol",{},[356,357,358,359,362],"li",{},"The agent has a ",[343,360,361],{},"published version"," (drafts are never served to visitors).",[356,364,365,366,369,370,373],{},"The ",[343,367,368],{},"public link"," is enabled in ",[343,371,372],{},"Publishing Settings → Public link",".",[348,375,377],{"id":376},"get-the-embed-code","Get the embed code",[339,379,380,381,384],{},"Open ",[343,382,383],{},"Publishing Settings → Widget",". Two variants are offered:",[339,386,387,390,391,395],{},[343,388,389],{},"Script (recommended)"," — paste before ",[392,393,394],"code",{},"\u003C\u002Fbody>",". The loader renders the floating launcher (or an inline card, per your widget settings) and handles open\u002Fclose:",[397,398,403],"pre",{"className":399,"code":400,"language":401,"meta":402,"style":402},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript src=\"https:\u002F\u002Fdiska.ai\u002Fwidget\u002Fv1.js\" data-diska-token=\"pub_…\" async>\u003C\u002Fscript>\n","html","",[392,404,405],{"__ignoreMap":402},[406,407,410,414,418,422,425,428,432,434,437,439,441,444,446,449,452,454],"span",{"class":408,"line":409},"line",1,[406,411,413],{"class":412},"sMK4o","\u003C",[406,415,417],{"class":416},"swJcz","script",[406,419,421],{"class":420},"spNyl"," src",[406,423,424],{"class":412},"=",[406,426,427],{"class":412},"\"",[406,429,431],{"class":430},"sfazB","https:\u002F\u002Fdiska.ai\u002Fwidget\u002Fv1.js",[406,433,427],{"class":412},[406,435,436],{"class":420}," data-diska-token",[406,438,424],{"class":412},[406,440,427],{"class":412},[406,442,443],{"class":430},"pub_…",[406,445,427],{"class":412},[406,447,448],{"class":420}," async",[406,450,451],{"class":412},">\u003C\u002F",[406,453,417],{"class":416},[406,455,456],{"class":412},">\n",[339,458,459,462],{},[343,460,461],{},"Iframe (no JavaScript)"," — for sites that block third-party scripts. A fixed-position frame with no loader:",[397,464,466],{"className":399,"code":465,"language":401,"meta":402,"style":402},"\u003Ciframe id=\"audio_iframe\" src=\"https:\u002F\u002Fdiska.ai\u002Fwidget\u002Fpub_…\"\n  allow=\"microphone\" width=\"400px\" height=\"550px\" scrolling=\"no\"\n  style=\"position: fixed; bottom: 0; right: 0; background: transparent;\n  border: none; z-index: 999\">\u003C\u002Fiframe>\n",[392,467,468,499,550,563],{"__ignoreMap":402},[406,469,470,472,475,478,480,482,485,487,489,491,493,496],{"class":408,"line":409},[406,471,413],{"class":412},[406,473,474],{"class":416},"iframe",[406,476,477],{"class":420}," id",[406,479,424],{"class":412},[406,481,427],{"class":412},[406,483,484],{"class":430},"audio_iframe",[406,486,427],{"class":412},[406,488,421],{"class":420},[406,490,424],{"class":412},[406,492,427],{"class":412},[406,494,495],{"class":430},"https:\u002F\u002Fdiska.ai\u002Fwidget\u002Fpub_…",[406,497,498],{"class":412},"\"\n",[406,500,502,505,507,509,512,514,517,519,521,524,526,529,531,533,536,538,541,543,545,548],{"class":408,"line":501},2,[406,503,504],{"class":420},"  allow",[406,506,424],{"class":412},[406,508,427],{"class":412},[406,510,511],{"class":430},"microphone",[406,513,427],{"class":412},[406,515,516],{"class":420}," width",[406,518,424],{"class":412},[406,520,427],{"class":412},[406,522,523],{"class":430},"400px",[406,525,427],{"class":412},[406,527,528],{"class":420}," height",[406,530,424],{"class":412},[406,532,427],{"class":412},[406,534,535],{"class":430},"550px",[406,537,427],{"class":412},[406,539,540],{"class":420}," scrolling",[406,542,424],{"class":412},[406,544,427],{"class":412},[406,546,547],{"class":430},"no",[406,549,498],{"class":412},[406,551,553,556,558,560],{"class":408,"line":552},3,[406,554,555],{"class":420},"  style",[406,557,424],{"class":412},[406,559,427],{"class":412},[406,561,562],{"class":430},"position: fixed; bottom: 0; right: 0; background: transparent;\n",[406,564,566,569,571,573,575],{"class":408,"line":565},4,[406,567,568],{"class":430},"  border: none; z-index: 999",[406,570,427],{"class":412},[406,572,451],{"class":412},[406,574,474],{"class":416},[406,576,456],{"class":412},[578,579,580,581,584,585,588],"warning",{},"Keep the ",[392,582,583],{},"allow=\"microphone\""," attribute (the script variant sets ",[392,586,587],{},"allow=\"microphone; autoplay\""," on the iframe it creates). Without it the browser refuses microphone access inside the cross-origin frame and the call can never start.",[348,590,592],{"id":591},"appearance","Appearance",[339,594,595,596,599,600,603],{},"Everything visual — colors, texts, floating vs inline, the visualizer — is configured in the ",[343,597,598],{},"Widget"," tab and applies live; you never need to re-paste the snippet. The widget always speaks with the ",[343,601,602],{},"published"," version of the agent.",[348,605,290],{"id":606},"troubleshooting",[608,609,610,620,630],"ul",{},[356,611,612,615,616,619],{},[343,613,614],{},"Nothing renders on the page"," — the widget hides itself rather than break your site. Open the browser console: ",[392,617,618],{},"[diska-widget] indisponível"," means the public link is disabled or the agent has no published version; a network error names the API host the loader tried.",[356,621,622,625,626,629],{},[343,623,624],{},"Different API host"," — self-hosted or staging deployments can point the loader elsewhere with ",[392,627,628],{},"data-api-base=\"https:\u002F\u002Fapi.example.com\u002Fapi\u002Fv1\""," on the script tag.",[356,631,632,635,636,639],{},[343,633,634],{},"Mic prompt never appears"," — check the ",[392,637,638],{},"allow"," attribute above, and that your site is served over HTTPS (browsers block microphone access on insecure origins).",[641,642,643],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":402,"searchDepth":501,"depth":501,"links":645},[646,647,648,649],{"id":350,"depth":501,"text":351},{"id":376,"depth":501,"text":377},{"id":591,"depth":501,"text":592},{"id":606,"depth":501,"text":290},"Put your published agent on any website with one script tag.","md",null,{},true,{"title":91,"description":650},"s0zZKTdBaCeum-wwqR0T8JOJVR_6vcJu4gHf4Xgyfjc",[658,660],{"title":87,"path":88,"stem":89,"description":659,"children":-1},"Create contact lists for transfer and reference.",{"title":95,"path":96,"stem":97,"description":661,"children":-1},"Overview of Diska's visual flow editor.",1786954579951]