Where do I find the invitation code?

Tap on your goal and then on the share button . You can resend your invitation by tapping on Share this Goal. Your code and already sent out invitations will not be altered and are still valid.