Click this link, sign in as the sales account, click Allow, then copy the code= from the redirect URL and paste it back to Miles.
code=