How to pair Surface Pen with a Microsoft Surface device and set up button commands

How to pair Surface Pen with a Microsoft Surface device

To pair your pen:

To customize your pen settings, including what happens when the top button is pressed: