OK now have 3 decoders ready to fit to my points,

I know they come with an address of one and you can reprogram as you would loco address'.
My question is do you program each one by plugging it into the programming track and then fit them to the layout afterwards.