You can check the following post: Master and slave architecture
It was originally for GVM 11, but that’s the main steps for GVM 20.08/21.4. You can also disregard the issues mentioned at the end of the thread, they have been fixed in GVM 20+
Good luck.