You may install the agent silently by command lines. This way you can start the installer in two modes:
By installing the code (You must first create the agent from the dashboard):
dwagent.(exe o sh) -silent key=xxxxxx logpath=xxxxx (logpath is optional)
By entering your account credentiuals (You do not need to create the agent from the dashboard):
dwagent.(exe o sh) -silent user=xxxxxx password=xxxxx name=xxxxx logpath=xxxxx
(logpath is optional; name is optional, if not provided it will autoname the agent with the machine name)