Step 1: Install Applicare SingleAgent in the machine where Wildfly is running. Follow the instructions for installing Applicare SingleAgent
If Wildfly is started using the standalone.conf.bat file proceed to Step 2.
Step 2: Navigate to <Wildfly_home_path>\bin Add the following line at the beginning of the standalone.conf.bat file.
set SERVER_NAME=ServerName
call <ApplicareSingleAgentHomePath>\scripts\setJBossAgentEnv.bat

Replace ServerName with the desired name for the agent. The name will be used when adding the agent to the controller.
Replace ApplicareSingleAgentHomePath with the actual path to your ApplicareSingleAgent home directory.
Example:

Additional steps for install Applicare SingleAgent with Wrapper.