1. At first, go to setup/install.php page
2. put the XSS payload into the first name and last name user input field.
4. Now login as that agent and navigate to "agents" tab where you can find the inserted payload in the first name and Lastname field.
5. Now click on the first name value and see the payload gets executed.