Installing protection agents and registering workloads