The mashup calls are directed to the server defined in the mashup JS file. So if you make a template based mashup, you will find these details in the JS file named as the mashup. In the first section a config and application setup is done, as described in the help page below.
If you generate your mashup through the Qlik Sense work bench, the mashup html file will have the required includes in the html head. The JS file will initiate the connection to Qlik Sense Server and get the referred objects.
If you have included a custom extension the required JS files for that extension will be included automagically. There is no need for additional inclusions from the Qlik Sense server.
The arbitrary page where you include the Qlik Sense objects will include and handle CSS and JS just as usual.
I have a hard time understanding exactly what you are trying to do, and where you get stuck. Can you upload a couple example files to exemplify the scenario?
I undestand everything what is created from workbench very well but it works only in the same context. For my opinion nobody needs a mashup running on Qlik Sense context. How can we create mashups running on a different web server? So, how we can pull in Qlik Sense objects in a web site or portal? That would be the normal use case.
The default configuration is based on running the mashup from Qlik Sense and takes configuration from windows.location.
There is a known limitation that using extensions in a mashup hosted on an external web server does not work because of CORS problems. We are working on a solution for this. We hope to be able to simplify this setup in future releases, but this is how it works in 1.0.
Erik Wetterberg https://extendingqlik.upper88.com/