Log into your Microsoft account. Click this link. Keep this tab open. There's a code on this webpage. Sign up for a dev account here. When you get to the part with the coupon code entry, paste the code above into it. Follow the steps here to activate dev mode on your Xbox.