When attempting to embed LiveAgent Chat on a public facing page that also contains a lightning out packaged aura/LWC, lightning.out.js throws $Lightning.use() already invoked with application: c:appname and the chat component fails to start.

I'm new to LiveAgent, but taking the error at its word, I am assuming that means that it uses the same lightning out container that the aura/LWC is using?

Is there some kind of workaround for packaging a custom LWC along with the chat container into a single app, or somehow including the LWC in the existing chat package, or is this just an expected, by design incompatibility?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.