A cloud-aware smart device that facilitates automated configuration and integration of the device within an automation system is provided. Upon installation within the automation system, the smart device determines its geographical location, identifies other devices on the system, and determines its role within the system. The smart device then establishes communication with a cloud platform running one or more cloud-based applications or services and sends a device profile containing the gathered information to the cloud platform. The device profile can be used to automatically configure the device for operation within the system or to add the smart device to an existing cloud-based application.