Guacamole Server application Example helps you to get started with guacamole server if you want to create a fully customized application.
You can see the whole configuration of compiling and installing the whole application at https://manageacloud.com/cookbook/guacamole_server_integrated_with_custom_application
You can deploy a temporarily server and see all this configuration in action at https://manageacloud.com/cookbook/aitvplhig40lcsa2j4rg02j0ir/deploy#test_deployment