Addressing pins on a toolboard

I added a microswitch to my setup (to test filament presence) and have attached it to my EBB42 toolboard at PB5 (an extra unused endstop pin). How do I address that pin? Is simply PB5 enough or do I need to add something else to the assignment to let ratos know I mean the toolboard?
Was this page helpful?