Installing and configuring the agent