Question: how to link nnid to nintendo account?
Answer: Click "User Information", then scroll down to the "Linked accounts" section and click "Change". ... 
Click the box next to "Nintendo Network ID".
Follow the on-screen steps to add your NNID and password.