1. Setup GitHub Personal Account Token

Open the PAT management page, and go to Generate new token (may require re-authentication).

image.png image.png

Fill in the necessary information and only allow this token to access some repositories.

image.png image.png

Repository access → only some repositories → Select sample-notion-to-repo repository.

image.png image.png

It looks like this when the desired repository is selected.

image.png image.png

We don’t need any Account permissions, any only allow these Repository permissions.

image.png image.png

image.png image.png

Check the permissions overview last time, generate token.

image.png image.png

Please copy this PAT and save it carefully, that note is not kidding.

image.png image.png