Lay down a length of track, connect it to the output terminals, Track A & B, of the Select.
Make sure the connections from the Select to the main track are disconnected though, otherwise any locos on the main track will also be programmed.
There are various ways of connecting switches to avoid having to move wires around to make it easier.