- Set your github credentials in your ide, as indicated by jetbrain's documentation
- Set a git remote for your root repository, which name must be 'origin' or 'github', and which url is pointing to your github repository
- Make sure that you have properly set passwords for git remoted, as indicated by jetbrain's documentation
- If your project contains several repositories, only pull requests for the root repository are detected
Infinite source of inspiration for this plugin.
Its source code is always of great help whenever in doubt about how to interact with the intellij IDE.