- One-time product: the buyer keeps access until the order is fully refunded or charged back.
- Subscription: the buyer keeps access until the subscription ends, its first payment is fully refunded, or one of its payments is charged back.
Common Use Cases
- Boilerplates and starter kits: sell a codebase and ship updates through the same repository
- Paid libraries and components: give customers the source instead of a zip file
- Sponsorware and early access: let subscribers into a repository before it goes public
- Courses and templates: keep the example code next to the lessons it belongs to
Before You Start
- You need to be the owner of the Creem store and an owner of the GitHub organization.
- A GitHub organization can be connected to one Creem store at a time.
- Each buyer is added to the repository as an outside collaborator. On a paid GitHub plan, each one can take a paid seat in your organization. If you don’t want to pay GitHub for a seat per buyer, sell from an organization on GitHub’s free plan.
Setting It Up
Connect your GitHub organization

Settings → Integrations with one connected organization
Add the repository to a product
- GitHub account: the organization you connected
- Repository: the private repository the buyer gets
- Buyer role: what the buyer can do in the repository (see Buyer roles)

The GitHub repository access item in the product form
Save the product
Buyer roles
What the Buyer Sees
Buyers don’t type a GitHub username. They sign in to GitHub, so access always goes to an account they control.Connect GitHub after paying

The confirmation page of an order that includes a repository
Sign in to GitHub
Accept the invitation

The order in the customer portal while the invitation is open
Use the repository
Invitations that expire
GitHub invitations expire after 7 days. When an invitation expires or is declined, the buyer can click Send the invitation again in the customer portal, at most once every 24 hours. The store owner can re-invite from the dashboard without waiting.Managing Access in the Dashboard
Open a payment in Payments, or a customer in Customers. The details panel has a GitHub access section with one entry per repository: the buyer role they bought, the buyer’s GitHub account and user ID, when they were invited and accepted, and when and why access was removed.
The GitHub access section of a payment
- Re-invite on an entry that is Invite expired or Failed. GitHub sends the new invitation within a few minutes.
- Revoke access removes the buyer from every repository of the order. It doesn’t refund the order, and access isn’t restored automatically, not even if the subscription is reactivated.
- Reset GitHub account removes the connected account from every repository of the order. The buyer then connects a new account from their order in the customer portal. Creem doesn’t email the buyer about the reset, so let them know.
When Access Ends
Creem removes the buyer from the repository, or cancels their pending invitation, in these cases:- Access isn’t restored automatically. To give it back, for example after you win a dispute or a subscriber pays again, add the buyer to the repository on GitHub yourself.
- Removal applies to the GitHub account, not to the order. If the same GitHub account bought access to the same repository twice, ending one order’s access removes the account from the repository, while the other order’s entry still shows Active.
- Existing collaborators are removed too. If the buyer was already a collaborator on the repository before they bought it, they lose that access when the order’s access ends. Members of your organization keep the access they have through the organization or a team.
Limits
- 50 invitations per repository per 24 hours. This is GitHub’s limit. Creem retries invitations above it later. If an entry ends up Failed, click Re-invite once 24 hours have passed.
- One GitHub account per order.
- Organization-owned private repositories only. On a personal account’s repository, GitHub gives every collaborator write access, so those repositories can’t be sold.
Disconnecting GitHub
In Settings → Integrations, the store owner can click Disconnect next to an organization.- Disconnecting in Creem removes the organization from Creem, so its repositories can’t be picked for a product anymore. It doesn’t stop sales: products that already sell its repositories keep giving new buyers access, even though the product form shows them as stopped working. To stop selling a repository, remove GitHub repository access from those products. The Creem app stays installed on GitHub, so buyers who already have access keep it, and Creem can still remove them after a refund, a chargeback or the end of a subscription. You can connect the organization again later.
- Uninstalling the Creem app on GitHub means Creem can no longer invite or remove anyone. Buyers who have access keep it until you remove them in the repository’s settings, and new buyers don’t get access. Remove GitHub repository access from your products before you uninstall.
- Removing a repository from the Creem app on GitHub breaks the products that sell it: new buyers get no access to it, and the product form shows that the repository stopped working. To fix it, add the repository back to the Creem app on GitHub, or choose another repository.
Troubleshooting
A repository isn't listed in the product form
A repository isn't listed in the product form
The organization wasn't connected
The organization wasn't connected
The buyer didn't get an invitation
The buyer didn't get an invitation
The buyer connected the wrong GitHub account
The buyer connected the wrong GitHub account
An entry says Failed
An entry says Failed
An entry says Removal failed
An entry says Removal failed