The friend code is automatically assigned and usually begins with ‘SW’. If you don’t know what your Friend Code is, follow these simple steps: 1. Go to the Switch home screen.   2. Select the avatar or user icon (the account to which you previously linked your Switch). 3. Select Profile in the top-left corner. 4. On the right side of the screen, you can see your 12-digit Friend Code.