Question: how to gameshare on xbox?
Answer: Press the Xbox button on your controller to open the guide.
Scroll left to the 'Sign In' tab.
Select the 'Add new' option.
Either get your friend's Microsoft account email address or phone number plus password they use to sign in, or let them sign in on your Xbox One.