Have you connected online at least once ? If yes, you can find your own code in Nintendo WFC -> Friend Code -> Confirm Friend Code. I'm sure everything is explained in the manual though, you might want to read it.