Unclear documentation, out-of-date video, minimal ...
# support
p
Hi, I am trying to create a minimal webpage that speaks to a Vapi chatbot following the insructions here, I am simply not able to get it working. https://docs.vapi.ai/quickstart/web The creator of the video says that it's possible to do it in plain JS, but when I do it, I am getting errors. I have replaced the import line import Vapi from "@vapi-ai/web"; with different lines from a CDN, but it's not working If a clear and complete plain JS file demonstrating how to create a webpage could be provided, that would be very useful. https://cdn.discordapp.com/attachments/1310454952660959282/1310454954128834650/Screenshot_2024-11-25_at_2.45.31_PM.png?ex=674547c8&is=6743f648&hm=91189d87a8c514d6e21148d7956011bc8aca46497dc3f3ee2d9de5e4d7362864& https://cdn.discordapp.com/attachments/1310454952660959282/1310454956654067712/Screenshot_2024-11-25_at_2.45.41_PM.png?ex=674547c8&is=6743f648&hm=ae8678a59a9ac3231989729037910107522286ecbb0b3b49ec9089f1a8c879b0& https://cdn.discordapp.com/attachments/1310454952660959282/1310454957765300234/Screenshot_2024-11-25_at_2.45.35_PM.png?ex=674547c9&is=6743f649&hm=cc9235be4318ed4104fcde5a2d48341f9d5ab632152394a415e8ced33c7d0502&
Anyone?
s
@pf56789 checkout this code for using CDN https://codesandbox.io/p/sandbox/nedzo-vapi-2s4nnq and this code using client-sdk https://github.com/VapiAI/client-example-javascript-next
@pf56789 do let me know if you require further help.