LiveKit SDK for AI avatar/chatbot in Webflow?

Hello,
We are planning to embed an AI chatbot with video, audio, and microphone access using LiveKit SDK (GitHub: livekit/client-sdk-js) on our Webflow site.

Questions:

  1. Does Webflow Custom Code support this JavaScript SDK?

  2. Any known limitations with WebRTC/camera/microphone access?

  3. Performance considerations for real-time video/audio?

  4. Can we use Webflow hosting (with external backend for auth tokens)?

Thank you

Hi @LEEYES - welcome to the forums!

In general, you can use custom code to bring in any 3rd party lib you need for your Webflow site, just make sure you’re not exposing any secrets/tokens since it will be client-side.

Re: Webflow hosting: you could create a Webflow Cloud project alongside your website (think deployed full-stack Web app like NextJS on your site domain at a specific path). We recently added the ability to add various Cloud Storage options to store things like auth tokens in SQLite for example.