How do I link my xbox account to my computer

I got the game on Xbox then made a account on there but I don’t know the login to it so I cant link my data from Xbox to PC?

Well you can link your epic account to your XBLA account. But when it comes to saves I do not believe that is a feature.
account->personal->connected Accounts, and you will see the options for twitch, Xbox, and PSN.

i cant find the account feature