1. Go to github.com and click on View profile and more
2. Click on Settings
3. Click on Developer settings
4. Click on Personal access tokens
5. Click on Generate new token
6. Type what the token is going to be used for
7. Check the "repo" scope
8. Click on Generate token
9. Click on Copy token
10. Go to Integrations | Deepnote
11. Click on Environment variables
12. Type the integration name
13. Type "access_token"
14. Paste your access token
15. Click on Create integration
16. Go back to your project and click on Connect the environment variable integration
17. Install your package using the Git method and providing your access token
Example:
!pip install git+https://[email protected]/your_user/private-repo.git