1. A cloud based computer system, comprising: a memory partition; and a network interface communicatively coupled to the memory partition and one or more processing units, wherein the memory partition comprises computer instructions that when executed by the one or more processing units cause the cloud-based computer system to: execute a hosted partner instance that is communicatively coupled, via the network interface, with a remotely executing partner application, the hosted partner instance configured to execute an application generator; receive an indication, via the application generator, of a primary application and an integration-type for the primary application; automatically generate, by the application generator, a set of artifacts for a secondary application as a scoped application having a target functionality based on the primary application and the integration-type, wherein the secondary application is configured to execute within a hosted customer instance executing an instance of the primary application and provide for integration between the primary application and a third application; wherein the secondary application is configured to interface with the primary application only through a public interface of the primary application and to integrate between the primary application and the third application by communicating information between the primary application and the third application, wherein the secondary application includes all of the program code and graphic elements required to provide the target functionality, and wherein the set of artifacts comprise hidden scoping code not available for viewing or alteration within the hosted partner instance, the hidden scoping code to assist in conformance to scoping requirements.