It works the other way round.
1/ You choose a function in the zynthian GUI,
2/ you then switch on learn mode . . . .
3/ You operate the control on the control surface (your nanoKontrol) and the two will be locked together.
4/ Save the snapshot so the mapping is stored.
You will be providing a sound sample at the end of this will you …?