What the customer gets
A collaborator invitation to one repository, with the role you chose. One benefit covers one repository. For several repositories, create a benefit per repository and attach them all to the product.Create it
Connecting GitHub happens in the dashboard. Once it’s connected, you can also create benefits from the CLI or your agent.Connect GitHub
- Open Catalog → Benefits
- Click Create Benefit and choose GitHub Repository Access as the Type
- Click Connect your GitHub Account and authorize Polar’s GitHub App
- Install the app on the organization that owns the repository. If a repository is missing from the list, use the Click here link under it to install the app there.
Why a separate GitHub App? Managing collaborators needs a sensitive permission. GitHub Apps can’t request permissions progressively, so Polar uses a dedicated app for this benefit instead of asking every user for it at login.
Create the benefit
- Dashboard
- CLI
- Prompt
- Choose the Repository
- Choose the Role. Read is the safe choice.
- Click Create
Options
Use Read unless you know you need more. Anyone with read access can still open pull requests. See GitHub’s repository roles.
Repositories owned by a personal account aren’t supported. GitHub can’t give collaborators read-only access there, so they’d be able to push.
Customer experience
After paying, on the checkout confirmation page or in the Customer Portal, the customer:- Clicks Connect GitHub account and authorizes GitHub
- Clicks Request my invite
- Accepts the invitation from GitHub

