In the upper-right corner of any page, click your profile photo, then click Settings.
In the left sidebar, click <> Developer settings.
In the left sidebar, under Personal access tokens, click Tokens (classic).
Select Generate new token, then click Generate new token (classic).
In the "Note" field, give your token a descriptive name.
To give your token an expiration, select Expiration, then choose No Expiration.
Select these scopes:
admin > read:org — To read org & team membership, read org projects
admin:repo_hook — To create & read webhooks
admin:org_hook — To create & read webhooks
user:read:user — To read all user profile data
user:email — To read all user emails
read:enterprise — To read enterprise profile data
read:audit_log — To read audit log
read:project — To read projects
Click Generate token.
Back in the linking flow, enter your username and token!
How to link your Github account in Merge Link.

Written by Matthew Ho
Updated over a week ago