Learn how to offer repository-related services, paid access to unique versions
of your code and setting up licensing options.
Select the ‘Private Repository‘ component.
Click ‘Add Repository‘ and follow the instructions. Your repository has to be public, and you’ll need to install our read-only Github app on your repository for verification purposes.
Let’s create your paid code access component and connect it to your private repository. In the repository editor, click ‘Add item‘ and select the ‘Code‘ component type. You’ll need to install our Github app on your private repository, so we can clone your code to our servers. Users who purchase this item, will get a unique read-only token to access your private repository with git, npm or pip.
Choose your price and billing model:
Subscriptions are great for providing ongoing support or maintenance. You can create both annual and monthly subscriptions with different pricing.
The best place to promote your paid components is on your README.MD file. Use our badge/banner to place a link to your xs:code repository page. This will help notify your users about the items you are offering. You can also use social media, blogs and developer community websites to promote your project.