You might want to download the owners manual and paramater guide for the nanoKontrol 2 -
The nanoKontrol itself needs to be into a specific mode for Sonar, correct drivers need to be installed ("should" happen automatically), and Mackie Control is the Korg-specified control surface that should be used. Once setup correctly, you shouldn't have to manually assign anything; the control surface setup should handle all of that.
For the price and size, the nanoKontrol 2 is actually a pretty cool little control surface!