I have written a plugin to provision an agent machine and return the machine name. I want to find a way to trigger this action before the build start and wait for the agent machine name was returned. I'm new to TeamCity and please give me some ideas on how to do this. Also, I want to display a list of build configurations on the plugin page and please let me know which API should I use to get a list of build configurations. Thanks very much for the help!