[{"data":1,"prerenderedAt":1314},["ShallowReactive",2],{"documentation-\u002Fdocumentation\u002Fintegration":3},{"id":4,"title":5,"body":6,"description":1305,"extension":1306,"meta":1307,"navigation":387,"ogImage":1308,"path":1309,"seo":1310,"sitemap":1311,"stem":1312,"__hash__":1313},"content\u002Fdocumentation\u002Fintegration\u002Findex.md","Install the chat widget",{"type":7,"value":8,"toc":1290},"minimark",[9,18,23,35,55,58,62,67,74,325,329,332,581,713,716,727,731,738,936,940,966,970,979,983,993,997,1003,1097,1100,1173,1186,1190,1196,1199,1259,1263,1286],[10,11,12,13,17],"p",{},"The widget is one script that loads asynchronously from ",[14,15,16],"code",{},"sdk.chatisto.com",". It does not block your page, and it is safe to include more than once.",[19,20,22],"h2",{"id":21},"_1-find-your-public-key","1. Find your public key",[10,24,25,26,30,31,34],{},"Every website you connect is an ",[27,28,29],"strong",{},"integration",", and each one has its own ",[27,32,33],{},"public key",".",[36,37,38,42,48],"ol",{},[39,40,41],"li",{},"Open the Chatisto app and select your integration.",[39,43,44,45,34],{},"Go to ",[27,46,47],{},"Settings → General",[39,49,50,51,54],{},"Copy the snippet under ",[27,52,53],{},"Integration Snippet",". It already contains your public key.",[10,56,57],{},"The public key is not a secret. It only identifies which integration the widget belongs to.",[19,59,61],{"id":60},"_2-add-the-snippet","2. Add the snippet",[63,64,66],"h3",{"id":65},"plain-html-works-everywhere","Plain HTML (works everywhere)",[10,68,69,70,73],{},"Paste this just before the closing ",[14,71,72],{},"\u003C\u002Fbody>"," tag on every page where the chat should appear:",[75,76,81],"pre",{"className":77,"code":78,"language":79,"meta":80,"style":80},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript>\n(function () {\n    var script = document.createElement('script');\n    script.src = 'https:\u002F\u002Fsdk.chatisto.com\u002Fchatisto-sdk.js';\n    script.async = true;\n    script.onload = function () {\n        window.chatistoLoader.LoadChatisto({\n            publicKey: 'YOUR_PUBLIC_KEY',\n            autoOpen: false\n        });\n    };\n    document.body.appendChild(script);\n})();\n\u003C\u002Fscript>\n","html","",[14,82,83,99,116,153,176,194,213,234,253,264,274,280,304,315],{"__ignoreMap":80},[84,85,88,92,96],"span",{"class":86,"line":87},"line",1,[84,89,91],{"class":90},"sMK4o","\u003C",[84,93,95],{"class":94},"swJcz","script",[84,97,98],{"class":90},">\n",[84,100,102,106,110,113],{"class":86,"line":101},2,[84,103,105],{"class":104},"sTEyZ","(",[84,107,109],{"class":108},"spNyl","function",[84,111,112],{"class":90}," ()",[84,114,115],{"class":90}," {\n",[84,117,119,122,125,128,131,133,137,139,142,145,147,150],{"class":86,"line":118},3,[84,120,121],{"class":108},"    var",[84,123,124],{"class":104}," script",[84,126,127],{"class":90}," =",[84,129,130],{"class":104}," document",[84,132,34],{"class":90},[84,134,136],{"class":135},"s2Zo4","createElement",[84,138,105],{"class":94},[84,140,141],{"class":90},"'",[84,143,95],{"class":144},"sfazB",[84,146,141],{"class":90},[84,148,149],{"class":94},")",[84,151,152],{"class":90},";\n",[84,154,156,159,161,164,166,169,172,174],{"class":86,"line":155},4,[84,157,158],{"class":104},"    script",[84,160,34],{"class":90},[84,162,163],{"class":104},"src",[84,165,127],{"class":90},[84,167,168],{"class":90}," '",[84,170,171],{"class":144},"https:\u002F\u002Fsdk.chatisto.com\u002Fchatisto-sdk.js",[84,173,141],{"class":90},[84,175,152],{"class":90},[84,177,179,181,183,186,188,192],{"class":86,"line":178},5,[84,180,158],{"class":104},[84,182,34],{"class":90},[84,184,185],{"class":104},"async",[84,187,127],{"class":90},[84,189,191],{"class":190},"sfNiH"," true",[84,193,152],{"class":90},[84,195,197,199,201,204,206,209,211],{"class":86,"line":196},6,[84,198,158],{"class":104},[84,200,34],{"class":90},[84,202,203],{"class":135},"onload",[84,205,127],{"class":90},[84,207,208],{"class":108}," function",[84,210,112],{"class":90},[84,212,115],{"class":90},[84,214,216,219,221,224,226,229,231],{"class":86,"line":215},7,[84,217,218],{"class":104},"        window",[84,220,34],{"class":90},[84,222,223],{"class":104},"chatistoLoader",[84,225,34],{"class":90},[84,227,228],{"class":135},"LoadChatisto",[84,230,105],{"class":94},[84,232,233],{"class":90},"{\n",[84,235,237,240,243,245,248,250],{"class":86,"line":236},8,[84,238,239],{"class":94},"            publicKey",[84,241,242],{"class":90},":",[84,244,168],{"class":90},[84,246,247],{"class":144},"YOUR_PUBLIC_KEY",[84,249,141],{"class":90},[84,251,252],{"class":90},",\n",[84,254,256,259,261],{"class":86,"line":255},9,[84,257,258],{"class":94},"            autoOpen",[84,260,242],{"class":90},[84,262,263],{"class":190}," false\n",[84,265,267,270,272],{"class":86,"line":266},10,[84,268,269],{"class":90},"        }",[84,271,149],{"class":94},[84,273,152],{"class":90},[84,275,277],{"class":86,"line":276},11,[84,278,279],{"class":90},"    };\n",[84,281,283,286,288,291,293,296,298,300,302],{"class":86,"line":282},12,[84,284,285],{"class":104},"    document",[84,287,34],{"class":90},[84,289,290],{"class":104},"body",[84,292,34],{"class":90},[84,294,295],{"class":135},"appendChild",[84,297,105],{"class":94},[84,299,95],{"class":104},[84,301,149],{"class":94},[84,303,152],{"class":90},[84,305,307,310,313],{"class":86,"line":306},13,[84,308,309],{"class":90},"}",[84,311,312],{"class":104},")()",[84,314,152],{"class":90},[84,316,318,321,323],{"class":86,"line":317},14,[84,319,320],{"class":90},"\u003C\u002F",[84,322,95],{"class":94},[84,324,98],{"class":90},[63,326,328],{"id":327},"nextjs-app-router","Next.js (App Router)",[10,330,331],{},"Create a client component and render it once in your root layout:",[75,333,337],{"className":334,"code":335,"language":336,"meta":80,"style":80},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F components\u002FChatisto.tsx\n'use client';\nimport { useEffect } from 'react';\n\nexport default function Chatisto() {\n    useEffect(() => {\n        const script = document.createElement('script');\n        script.src = 'https:\u002F\u002Fsdk.chatisto.com\u002Fchatisto-sdk.js';\n        script.async = true;\n        script.onload = () =>\n            window.chatistoLoader.LoadChatisto({ publicKey: 'YOUR_PUBLIC_KEY' });\n        document.body.appendChild(script);\n    }, []);\n\n    return null;\n}\n","tsx",[14,338,339,345,356,383,389,407,421,448,467,481,496,531,552,562,566,575],{"__ignoreMap":80},[84,340,341],{"class":86,"line":87},[84,342,344],{"class":343},"sHwdD","\u002F\u002F components\u002FChatisto.tsx\n",[84,346,347,349,352,354],{"class":86,"line":101},[84,348,141],{"class":90},[84,350,351],{"class":144},"use client",[84,353,141],{"class":90},[84,355,152],{"class":90},[84,357,358,362,365,368,371,374,376,379,381],{"class":86,"line":118},[84,359,361],{"class":360},"s7zQu","import",[84,363,364],{"class":90}," {",[84,366,367],{"class":104}," useEffect",[84,369,370],{"class":90}," }",[84,372,373],{"class":360}," from",[84,375,168],{"class":90},[84,377,378],{"class":144},"react",[84,380,141],{"class":90},[84,382,152],{"class":90},[84,384,385],{"class":86,"line":155},[84,386,388],{"emptyLinePlaceholder":387},true,"\n",[84,390,391,394,397,399,402,405],{"class":86,"line":178},[84,392,393],{"class":360},"export",[84,395,396],{"class":360}," default",[84,398,208],{"class":108},[84,400,401],{"class":135}," Chatisto",[84,403,404],{"class":90},"()",[84,406,115],{"class":90},[84,408,409,412,414,416,419],{"class":86,"line":196},[84,410,411],{"class":135},"    useEffect",[84,413,105],{"class":94},[84,415,404],{"class":90},[84,417,418],{"class":108}," =>",[84,420,115],{"class":90},[84,422,423,426,428,430,432,434,436,438,440,442,444,446],{"class":86,"line":215},[84,424,425],{"class":108},"        const",[84,427,124],{"class":104},[84,429,127],{"class":90},[84,431,130],{"class":104},[84,433,34],{"class":90},[84,435,136],{"class":135},[84,437,105],{"class":94},[84,439,141],{"class":90},[84,441,95],{"class":144},[84,443,141],{"class":90},[84,445,149],{"class":94},[84,447,152],{"class":90},[84,449,450,453,455,457,459,461,463,465],{"class":86,"line":236},[84,451,452],{"class":104},"        script",[84,454,34],{"class":90},[84,456,163],{"class":104},[84,458,127],{"class":90},[84,460,168],{"class":90},[84,462,171],{"class":144},[84,464,141],{"class":90},[84,466,152],{"class":90},[84,468,469,471,473,475,477,479],{"class":86,"line":255},[84,470,452],{"class":104},[84,472,34],{"class":90},[84,474,185],{"class":104},[84,476,127],{"class":90},[84,478,191],{"class":190},[84,480,152],{"class":90},[84,482,483,485,487,489,491,493],{"class":86,"line":266},[84,484,452],{"class":104},[84,486,34],{"class":90},[84,488,203],{"class":135},[84,490,127],{"class":90},[84,492,112],{"class":90},[84,494,495],{"class":108}," =>\n",[84,497,498,501,503,505,507,509,511,514,517,519,521,523,525,527,529],{"class":86,"line":276},[84,499,500],{"class":104},"            window",[84,502,34],{"class":90},[84,504,223],{"class":104},[84,506,34],{"class":90},[84,508,228],{"class":135},[84,510,105],{"class":94},[84,512,513],{"class":90},"{",[84,515,516],{"class":94}," publicKey",[84,518,242],{"class":90},[84,520,168],{"class":90},[84,522,247],{"class":144},[84,524,141],{"class":90},[84,526,370],{"class":90},[84,528,149],{"class":94},[84,530,152],{"class":90},[84,532,533,536,538,540,542,544,546,548,550],{"class":86,"line":282},[84,534,535],{"class":104},"        document",[84,537,34],{"class":90},[84,539,290],{"class":104},[84,541,34],{"class":90},[84,543,295],{"class":135},[84,545,105],{"class":94},[84,547,95],{"class":104},[84,549,149],{"class":94},[84,551,152],{"class":90},[84,553,554,557,560],{"class":86,"line":306},[84,555,556],{"class":90},"    },",[84,558,559],{"class":94}," [])",[84,561,152],{"class":90},[84,563,564],{"class":86,"line":317},[84,565,388],{"emptyLinePlaceholder":387},[84,567,569,572],{"class":86,"line":568},15,[84,570,571],{"class":360},"    return",[84,573,574],{"class":90}," null;\n",[84,576,578],{"class":86,"line":577},16,[84,579,580],{"class":90},"}\n",[75,582,584],{"className":334,"code":583,"language":336,"meta":80,"style":80},"\u002F\u002F app\u002Flayout.tsx\nimport Chatisto from '@\u002Fcomponents\u002FChatisto';\n\nexport default function RootLayout({ children }) {\n    return (\n        \u003Chtml>\n            \u003Cbody>\n                {children}\n                \u003CChatisto \u002F>\n            \u003C\u002Fbody>\n        \u003C\u002Fhtml>\n    );\n}\n",[14,585,586,591,610,614,637,644,653,662,672,684,693,702,709],{"__ignoreMap":80},[84,587,588],{"class":86,"line":87},[84,589,590],{"class":343},"\u002F\u002F app\u002Flayout.tsx\n",[84,592,593,595,598,601,603,606,608],{"class":86,"line":101},[84,594,361],{"class":360},[84,596,597],{"class":104}," Chatisto ",[84,599,600],{"class":360},"from",[84,602,168],{"class":90},[84,604,605],{"class":144},"@\u002Fcomponents\u002FChatisto",[84,607,141],{"class":90},[84,609,152],{"class":90},[84,611,612],{"class":86,"line":118},[84,613,388],{"emptyLinePlaceholder":387},[84,615,616,618,620,622,625,628,632,635],{"class":86,"line":155},[84,617,393],{"class":360},[84,619,396],{"class":360},[84,621,208],{"class":108},[84,623,624],{"class":135}," RootLayout",[84,626,627],{"class":90},"({",[84,629,631],{"class":630},"sHdIc"," children",[84,633,634],{"class":90}," })",[84,636,115],{"class":90},[84,638,639,641],{"class":86,"line":178},[84,640,571],{"class":360},[84,642,643],{"class":94}," (\n",[84,645,646,649,651],{"class":86,"line":196},[84,647,648],{"class":90},"        \u003C",[84,650,79],{"class":94},[84,652,98],{"class":90},[84,654,655,658,660],{"class":86,"line":215},[84,656,657],{"class":90},"            \u003C",[84,659,290],{"class":94},[84,661,98],{"class":90},[84,663,664,667,670],{"class":86,"line":236},[84,665,666],{"class":90},"                {",[84,668,669],{"class":104},"children",[84,671,580],{"class":90},[84,673,674,677,681],{"class":86,"line":255},[84,675,676],{"class":90},"                \u003C",[84,678,680],{"class":679},"sBMFI","Chatisto",[84,682,683],{"class":90}," \u002F>\n",[84,685,686,689,691],{"class":86,"line":266},[84,687,688],{"class":90},"            \u003C\u002F",[84,690,290],{"class":94},[84,692,98],{"class":90},[84,694,695,698,700],{"class":86,"line":276},[84,696,697],{"class":90},"        \u003C\u002F",[84,699,79],{"class":94},[84,701,98],{"class":90},[84,703,704,707],{"class":86,"line":282},[84,705,706],{"class":94},"    )",[84,708,152],{"class":90},[84,710,711],{"class":86,"line":306},[84,712,580],{"class":90},[63,714,715],{"id":378},"React",[10,717,718,719,722,723,726],{},"Use the same component as for Next.js (without ",[14,720,721],{},"'use client'",") and render ",[14,724,725],{},"\u003CChatisto \u002F>"," once near the root of your app.",[63,728,730],{"id":729},"nuxt","Nuxt",[10,732,733,734,737],{},"Create ",[14,735,736],{},"plugins\u002Fchatisto.client.ts",". Nuxt loads it automatically, on the client only:",[75,739,743],{"className":740,"code":741,"language":742,"meta":80,"style":80},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtPlugin((nuxtApp) => {\n    nuxtApp.hook('app:suspense:resolve', () => {\n        const script = document.createElement('script');\n        script.src = 'https:\u002F\u002Fsdk.chatisto.com\u002Fchatisto-sdk.js';\n        script.async = true;\n        script.onload = () =>\n            window.chatistoLoader.LoadChatisto({ publicKey: 'YOUR_PUBLIC_KEY' });\n        document.body.appendChild(script);\n    });\n});\n","ts",[14,744,745,767,795,821,839,853,867,899,919,928],{"__ignoreMap":80},[84,746,747,749,751,754,756,758,761,763,765],{"class":86,"line":87},[84,748,393],{"class":360},[84,750,396],{"class":360},[84,752,753],{"class":135}," defineNuxtPlugin",[84,755,105],{"class":104},[84,757,105],{"class":90},[84,759,760],{"class":630},"nuxtApp",[84,762,149],{"class":90},[84,764,418],{"class":108},[84,766,115],{"class":90},[84,768,769,772,774,777,779,781,784,786,789,791,793],{"class":86,"line":101},[84,770,771],{"class":104},"    nuxtApp",[84,773,34],{"class":90},[84,775,776],{"class":135},"hook",[84,778,105],{"class":94},[84,780,141],{"class":90},[84,782,783],{"class":144},"app:suspense:resolve",[84,785,141],{"class":90},[84,787,788],{"class":90},",",[84,790,112],{"class":90},[84,792,418],{"class":108},[84,794,115],{"class":90},[84,796,797,799,801,803,805,807,809,811,813,815,817,819],{"class":86,"line":118},[84,798,425],{"class":108},[84,800,124],{"class":104},[84,802,127],{"class":90},[84,804,130],{"class":104},[84,806,34],{"class":90},[84,808,136],{"class":135},[84,810,105],{"class":94},[84,812,141],{"class":90},[84,814,95],{"class":144},[84,816,141],{"class":90},[84,818,149],{"class":94},[84,820,152],{"class":90},[84,822,823,825,827,829,831,833,835,837],{"class":86,"line":155},[84,824,452],{"class":104},[84,826,34],{"class":90},[84,828,163],{"class":104},[84,830,127],{"class":90},[84,832,168],{"class":90},[84,834,171],{"class":144},[84,836,141],{"class":90},[84,838,152],{"class":90},[84,840,841,843,845,847,849,851],{"class":86,"line":178},[84,842,452],{"class":104},[84,844,34],{"class":90},[84,846,185],{"class":104},[84,848,127],{"class":90},[84,850,191],{"class":190},[84,852,152],{"class":90},[84,854,855,857,859,861,863,865],{"class":86,"line":196},[84,856,452],{"class":104},[84,858,34],{"class":90},[84,860,203],{"class":135},[84,862,127],{"class":90},[84,864,112],{"class":90},[84,866,495],{"class":108},[84,868,869,871,873,875,877,879,881,883,885,887,889,891,893,895,897],{"class":86,"line":215},[84,870,500],{"class":104},[84,872,34],{"class":90},[84,874,223],{"class":104},[84,876,34],{"class":90},[84,878,228],{"class":135},[84,880,105],{"class":94},[84,882,513],{"class":90},[84,884,516],{"class":94},[84,886,242],{"class":90},[84,888,168],{"class":90},[84,890,247],{"class":144},[84,892,141],{"class":90},[84,894,370],{"class":90},[84,896,149],{"class":94},[84,898,152],{"class":90},[84,900,901,903,905,907,909,911,913,915,917],{"class":86,"line":236},[84,902,535],{"class":104},[84,904,34],{"class":90},[84,906,290],{"class":104},[84,908,34],{"class":90},[84,910,295],{"class":135},[84,912,105],{"class":94},[84,914,95],{"class":104},[84,916,149],{"class":94},[84,918,152],{"class":90},[84,920,921,924,926],{"class":86,"line":255},[84,922,923],{"class":90},"    }",[84,925,149],{"class":94},[84,927,152],{"class":90},[84,929,930,932,934],{"class":86,"line":266},[84,931,309],{"class":90},[84,933,149],{"class":104},[84,935,152],{"class":90},[63,937,939],{"id":938},"shopify","Shopify",[36,941,942,948,954,963],{},[39,943,944,945,34],{},"In Shopify admin go to ",[27,946,947],{},"Online Store → Themes",[39,949,950,951,34],{},"On your current theme click ",[27,952,953],{},"⋯ → Edit code",[39,955,956,957,960,961,34],{},"Open ",[14,958,959],{},"layout\u002Ftheme.liquid"," and paste the HTML snippet just before ",[14,962,72],{},[39,964,965],{},"Save.",[63,967,969],{"id":968},"wordpress","WordPress",[10,971,972,973,978],{},"Use the ",[974,975,977],"a",{"href":976},"\u002Fdocumentation\u002Fintegration\u002Fwordpress","Chatisto WordPress plugin",". No theme edits needed. If you prefer not to use a plugin, paste the HTML snippet into your theme footer or a \"header & footer scripts\" plugin.",[63,980,982],{"id":981},"framer","Framer",[10,984,985,986,988,989,992],{},"Install the ",[27,987,680],{}," plugin from the Framer plugin marketplace, paste your public key and click ",[27,990,991],{},"Install Widget",". Then publish your site.",[19,994,996],{"id":995},"loader-options","Loader options",[10,998,999,1002],{},[14,1000,1001],{},"LoadChatisto()"," accepts these options:",[1004,1005,1006,1025],"table",{},[1007,1008,1009],"thead",{},[1010,1011,1012,1016,1019,1022],"tr",{},[1013,1014,1015],"th",{},"Option",[1013,1017,1018],{},"Type",[1013,1020,1021],{},"Default",[1013,1023,1024],{},"What it does",[1026,1027,1028,1045,1063,1078],"tbody",{},[1010,1029,1030,1036,1039,1042],{},[1031,1032,1033],"td",{},[14,1034,1035],{},"publicKey",[1031,1037,1038],{},"string",[1031,1040,1041],{},"(required)",[1031,1043,1044],{},"Connects the widget to your integration.",[1010,1046,1047,1052,1055,1060],{},[1031,1048,1049],{},[14,1050,1051],{},"autoOpen",[1031,1053,1054],{},"boolean",[1031,1056,1057],{},[14,1058,1059],{},"false",[1031,1061,1062],{},"Opens the chat window as soon as the widget loads.",[1010,1064,1065,1070,1072,1075],{},[1031,1066,1067],{},[14,1068,1069],{},"targetElement",[1031,1071,1038],{},[1031,1073,1074],{},"none",[1031,1076,1077],{},"CSS selector. Renders the chat inside this element instead of as a floating bubble.",[1010,1079,1080,1085,1087,1091],{},[1031,1081,1082],{},[14,1083,1084],{},"fitToTargetElement",[1031,1086,1054],{},[1031,1088,1089],{},[14,1090,1059],{},[1031,1092,1093,1094,1096],{},"With ",[14,1095,1069],{},", stretches the chat to fill that element.",[10,1098,1099],{},"Embedding inline, for example on a dedicated \"Support\" page:",[75,1101,1105],{"className":1102,"code":1103,"language":1104,"meta":80,"style":80},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","window.chatistoLoader.LoadChatisto({\n    publicKey: 'YOUR_PUBLIC_KEY',\n    targetElement: '#support-chat',\n    fitToTargetElement: true\n});\n","js",[14,1106,1107,1124,1139,1155,1165],{"__ignoreMap":80},[84,1108,1109,1112,1114,1116,1118,1120,1122],{"class":86,"line":87},[84,1110,1111],{"class":104},"window",[84,1113,34],{"class":90},[84,1115,223],{"class":104},[84,1117,34],{"class":90},[84,1119,228],{"class":135},[84,1121,105],{"class":104},[84,1123,233],{"class":90},[84,1125,1126,1129,1131,1133,1135,1137],{"class":86,"line":101},[84,1127,1128],{"class":94},"    publicKey",[84,1130,242],{"class":90},[84,1132,168],{"class":90},[84,1134,247],{"class":144},[84,1136,141],{"class":90},[84,1138,252],{"class":90},[84,1140,1141,1144,1146,1148,1151,1153],{"class":86,"line":118},[84,1142,1143],{"class":94},"    targetElement",[84,1145,242],{"class":90},[84,1147,168],{"class":90},[84,1149,1150],{"class":144},"#support-chat",[84,1152,141],{"class":90},[84,1154,252],{"class":90},[84,1156,1157,1160,1162],{"class":86,"line":155},[84,1158,1159],{"class":94},"    fitToTargetElement",[84,1161,242],{"class":90},[84,1163,1164],{"class":190}," true\n",[84,1166,1167,1169,1171],{"class":86,"line":178},[84,1168,309],{"class":90},[84,1170,149],{"class":104},[84,1172,152],{"class":90},[1174,1175,1176],"blockquote",{},[10,1177,1178,1181,1182,1185],{},[27,1179,1180],{},"Tip:"," You can also make the window open automatically for every visitor with ",[27,1183,1184],{},"Settings → Client Settings → Open Window Automatically",", without touching code.",[19,1187,1189],{"id":1188},"_3-check-it-works","3. Check it works",[10,1191,1192,1193,34],{},"Open your website in a private browser window. Within a few seconds the chat bubble should appear in the corner. Send a test message and it shows up in your ",[27,1194,1195],{},"Inbox",[10,1197,1198],{},"If the widget doesn't appear:",[1200,1201,1202,1213,1222,1249],"ul",{},[39,1203,1204,1207,1208,1210,1211,34],{},[27,1205,1206],{},"Wrong key."," Compare the ",[14,1209,1035],{}," with the one under ",[27,1212,47],{},[39,1214,1215,1218,1219,1221],{},[27,1216,1217],{},"Script stripped."," Some caching and \"optimization\" plugins defer or remove third-party scripts. Exclude ",[14,1220,16],{}," from them.",[39,1223,1224,1227,1228,1231,1232,1235,1236,1239,1240,1235,1243,1231,1246,34],{},[27,1225,1226],{},"Content Security Policy."," If your site sends a CSP header, allow ",[14,1229,1230],{},"https:\u002F\u002Fsdk.chatisto.com"," in ",[14,1233,1234],{},"script-src"," and ",[14,1237,1238],{},"frame-src",", and allow ",[14,1241,1242],{},"https:\u002F\u002Ffresh-api.chatisto.com",[14,1244,1245],{},"wss:\u002F\u002Fws-api.chatisto.com",[14,1247,1248],{},"connect-src",[39,1250,1251,1254,1255,1258],{},[27,1252,1253],{},"Console errors."," Open the browser developer tools. ",[14,1256,1257],{},"Failed to load Chatisto SDK"," means the script couldn't be downloaded.",[19,1260,1262],{"id":1261},"next-steps","Next steps",[1200,1264,1265,1272,1279],{},[39,1266,1267,1271],{},[974,1268,1270],{"href":1269},"\u002Fdocumentation\u002Fwidget\u002Fcustomize","Customize the widget"," to match your brand.",[39,1273,1274,1278],{},[974,1275,1277],{"href":1276},"\u002Fdocumentation\u002Fai\u002Fknowledge-base","Train the AI agent"," on your website and documents.",[39,1280,1281,1285],{},[974,1282,1284],{"href":1283},"\u002Fdocumentation\u002Fwidget\u002Fjavascript-api","Pass user data"," from your app, so operators know who they're talking to.",[1287,1288,1289],"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 .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}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);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":80,"searchDepth":101,"depth":101,"links":1291},[1292,1293,1302,1303,1304],{"id":21,"depth":101,"text":22},{"id":60,"depth":101,"text":61,"children":1294},[1295,1296,1297,1298,1299,1300,1301],{"id":65,"depth":118,"text":66},{"id":327,"depth":118,"text":328},{"id":378,"depth":118,"text":715},{"id":729,"depth":118,"text":730},{"id":938,"depth":118,"text":939},{"id":968,"depth":118,"text":969},{"id":981,"depth":118,"text":982},{"id":995,"depth":101,"text":996},{"id":1188,"depth":101,"text":1189},{"id":1261,"depth":101,"text":1262},"Add the Chatisto chat widget to any website with one snippet. Copy-paste examples for HTML, Next.js, Nuxt, React, Shopify, WordPress and Framer.","md",{},null,"\u002Fdocumentation\u002Fintegration",{"title":5,"description":1305},{"loc":1309},"documentation\u002Fintegration\u002Findex","uf6rONILfBODSNoRlFerUoEEIsLkg98tbMzt2noNdiw",1794660400088]