From a77b65d8efe82ee46b2800ff089df6d76a00e122 Mon Sep 17 00:00:00 2001 From: Midhun Suresh <midhunr@element.io> Date: Tue, 8 Feb 2022 17:13:55 +0530 Subject: [PATCH] Complete README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 4bbeeb8..9740001 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> +``` -- GitLab