Installation of icinga2, icinga web and director with the bank on another server

i’m new to icinga2 i’m trying to learn how to install icinga2. I need to install icinga2, icinga web and director on the same server but the bank should be on another server how do I do this please help me