diff --git a/README.md b/README.md index 4bbeeb86dc4fe88023641d1aa538c7582fab8608..9740001d4295965c4b38499fbf7c9583de7f81f3 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,10 @@ Follow the develop instructions above (steps 1-3), then: ### Embed Instructions --- +Assuming that the build output (inside `/target`) is hosted at `<root>` (eg: chatterbox.element.io), copy and paste the following snippet before the closing `</body>` tag: +```html + <script> + window.CONFIG_LOCATION = "path_to_config"; + </script> + <script src="<root>/parent/assets/parent.js" type="module" id="chatterbox-script"></script> +```