service-digital-engagement-messaging-site-integrate
Installation
SKILL.md
Embed Messaging Widget on an Experience Cloud Site
Wires an existing Embedded Messaging (MIAW) deployment onto an Experience Cloud site by retrieving the site's bundle (LWR DigitalExperienceBundle or Aura ExperienceBundle), patching the home page JSON to place the experience_messaging:embeddedMessaging component, staging the bundle into the local project, deploying it, publishing the site, and verifying guest access.
The operation is idempotent: if the component is already present it is updated in place (its id is preserved), so re-running with different ESD coordinates cleanly updates.
Scope
- In scope: Detecting LWR vs Aura bundle type; scaffolding missing LWR template routes required by the site template (e.g.
too-many-requests); patching the home-page JSON to insert or update the Embedded Messaging component; staging the bundle intoforce-app; async deploy with polling; resolving theNetwork.Nameand publishing the site; guest-URL smoke test; manual Experience Builder fallback with a deep link. - Out of scope: Creating the
EmbeddedServiceConfig(Embedded Service Deployment) itself — useservice-digital-engagement-deployment-configure; creating theMessagingChannel— useservice-digital-engagement-channel-configure; creating the Experience Cloud site itself — useexperience-lwr-site-generate; generating a standalone JS snippet for a non-Experience website.
Clarifying Questions
Before executing, ask the user if not already clear: