The manual assumes the integrating company has a web server running at example.com and has a company_key. The company_key is the access key for communicating from the company server to the Identomat server (widget.identomat.com).
The company server now has to redirect the user's browser to the following location:
After finishing the identification process the user's browser is redirected back to the return URL as specified in the flags but with an added session_token parameter. In case of embedding in an iframe the end of the process can be detected using JavaScript like this:
addEventListener('message', function (e) {
if (e.origin !== 'https://widget.identomat.com') return