A system for configuring a gateway for an automated system, AS, the AS including a plurality of AS devices , the system comprising: an assembly tool configured to obtain a security configuration including a set of requirements for a plurality of applications , each of the plurality of applications configured for operating with at least one AS device , analyze a plurality of assembly components for compliance with the security configuration , the plurality of assembly components for building one of the plurality of applications , assemble an application package using a subset of the plurality of assembly components based on compliance with the security configuration , wherein when at least one assembly component of the subset of the plurality of assembly components is not in compliance with the security configuration , the assembly tool is further configured to supplement the application package with a set of requirements from the security configuration for operating an application from the application package , thereby the same at least one assembly component is to be matching the security configuration ; and a control tool operably coupled to the assembly tool and configured to install the application package on the gateway such that execution of an individual application derived from the application package ensures a required level of information security for the AS. an assembly tool configured to obtain a security configuration including a set of requirements for a plurality of applications , each of the plurality of applications configured for operating with at least one AS device , analyze a plurality of assembly components for compliance with the security configuration , the plurality of assembly components for building one of the plurality of applications , assemble an application package using a subset of the plurality of assembly components based on compliance with the security configuration , wherein when at least one assembly component of the subset of the plurality of assembly components is not in compliance with the security configuration , the assembly tool is further configured to supplement the application package with a set of requirements from the security configuration for operating an application from the application package , thereby the same at least one assembly component is to be matching the security configuration ; and obtain a security configuration including a set of requirements for a plurality of applications , each of the plurality of applications configured for operating with at least one AS device , analyze a plurality of assembly components for compliance with the security configuration , the plurality of assembly components for building one of the plurality of applications , assemble an application package using a subset of the plurality of assembly components based on compliance with the security configuration , wherein when at least one assembly component of the subset of the plurality of assembly components is not in compliance with the security configuration , the assembly tool is further configured to supplement the application package with a set of requirements from the security configuration for operating an application from the application package , thereby the same at least one assembly component is to be matching the security configuration ; and a control tool operably coupled to the assembly tool and configured to install the application package on the gateway such that execution of an individual application derived from the application package ensures a required level of information security for the AS. <EOS>