The ChatGPT response seems to be correct. You’ll want to sign up for a developer account at: Enroll as a developer for Microsoft Store | Microsoft Developer
After being registered you’ll be able to access the game development kit and then specifically the Xbox porting kit. Game Development Kit (GDK) documentation - Microsoft Game Development Kit | Microsoft Learn (this link requires you to be a registered developer)
From there you’ll be able to follow what’s provided by Microsoft.