To do this, go to your Switch profile (which is represented by the icon). Then go to “Add Friend”, then “Search with Friend Code”. After that, submit, then I should receive a request.
You have to be connected to the internet to do this. But you don’t have to pay for membership.