Connect to GitHub
Overview
FAIRshare can be used to make your research software on GitHub FAIR. This is a great way to share your research with the world and to make it available to the public so we have made it easy to integrate FAIRshare with GitHub.
How to
To connect FAIRshare with GitHub you can either provide a personal access token with the appropriate scopes or you can allow FAIRshare to connect with GitHub and create a token for you.
We recommend using the Connect with username option since this will make sure that you have the correct scopes needed to make your repositories FAIR.
Connect with username
Click on the
Connect to GitHub
at the bottom right position of the card.Click on the
Connect with username
button in the popup.This will create a new window where you can login to GitHub. You will be asked to provide your GitHub username and password to allow FAIRshare to connect to GitHub.
infoFAIRshare cannot see or read the username or password you enter in this login window. If your login is successful FAIRshare only stores an authentication token that allows the application to connect to GitHub and read and write to your repositories.
If your login is successful FAIRshare will show you a successfully connected notification.
Connect with token
You can also provide a personal access token that has the correct scopes to let FAIRshare read and write to your repositories.
The token can be generated using the following link: https://github.com/settings/tokens/new
You will need the following scopes on your personal access token: admin:org_hook
, admin:repo_hook
, repo
, user
- Click on the
Connect to GitHub
at the bottom right position of the card. - Click on the
Connect with username
button in the popup. - In the following prompt enter your GitHub personal access token.
- Click on the
OK
button to continue. If your token is valid FAIRshare will show you a successfully connected notification.
- Click on the