The simplest path to using RPI Realtime functionality is through the use of RPI landing pages. These are web pages that are created in RPI, then published to a specified website. Full details of landing pages can be found in the Landing Page Designer documentation.
When you publish a landing page, the page will automatically contain all of the JavaScript necessary to invoke RPI realtime functionality.
Landing pages controlled by RPI Realtime are published to the address defined at system configuration setting RealtimeAPIAddress.