The embed code will load a chat room where you place the above
<div data-rml-room .../> in your markup. By default it has a width and height of 100% which means it will fill its parent container.
rml('register', ...) part is a Roomlio API call that is required to load the chat room and you should replace the user and room attributes with your own app data.
Each unique value for
roomKey will generate new Roomlio rooms. Because the
roomKey is specified by you, often dynamaically, we ask which Roomlio App Users should be auto-joined to rooms created by the above embed code. The users you select above, will be notified when a conversation starts in a newly created room and can respond back via the Roomlio App.
Roomlio provides two authentication modes. Simple and Secure (advanced)
Simple mode is useful for testing out Roomlio and some use cases where you don't need to be absolutely sure a user is who they say they are.
For more details, check out the docs for Roomlio JS API
Please don't hesitate to reach out to Roomlio support for help.