Skip to main content
How to gate a GitHub repository
Hanna avatar
Written by Hanna
Updated over a year ago

This guide shows how to gate a GitHub repository by creating a Guild. If you already have a Guild and want to add your GitHub, learn how to add Guild rewards.

1. Navigate to Guild.xyz and click 'Create Guild'

You can also start Guild creation here.

2. Choose GitHub from platforms

Choose from Discord, Telegram, Google, GitHub, NFT, and Twitter (additional type). Select multiple and we'll generate templates for your Guild based on your selection.

3. Connect wallet

Your address serves as your default ID. Connect address you want as Guild owner.

4. Connect social account

Required step to access your GitHub repositories. Social accounts and wallets can be managed under your Guild account top right corner.

5. Select and gate repository

Only private repositories can be gated. They can only be accessed by you, certain org. members, and individuals you grant access to.

6. Customize Guild

Set logo, name, and description. Customize appearance, and add contact info where we could reach you.

7. Choose role templates

Your guild consists of roles that the members can satisfy the requirements of to gain access to their rewards. Choose some defaults to get you started.

8. Add rewards to roles

Select rewards for your role holders. You can also go back and add more templates.

9. Edit roles

Edit existing roles or create new ones. Customize them and combine off- and onchain requirements with advanced logic gates.

10. Summon members

Congrats on your new Guild! Drop the link to your members and share your launch on Twitter (I meant on X) to invite your community. 

Did this answer your question?