Welcome @ubi There are plenty of samples for V2.
Have a look at:
This should be enough to get you started.
I highly recommend that you use the PaperUI to configure your things