Get the token from https://github.com/settings/tokens?type=beta.
https://cli.github.com/manual/gh_auth_login
gh auth login --with-token <token>