In short follow the instructions on the link @Nummer378 posted (https://apt.syncthing.net/) and then this to get it up and running automatically https://docs.syncthing.net/users/autostart.html#using-systemd. If you encounter problems, both describe the steps you have taken and what happened (and how that’s different from what you want to achieve if not obvious (if in doubt assume everything is not obvious)).