Draft - Disco Docs v1
Ask or search…
Comment on page

Gating a Discord Server with Guild


Let's see just how easy it is to get started using Disco and Guild to gate a Discord Server now!
In the following steps, we'll walk you through gating access to a Discord Server if the users have an OfficialDisconautCredential issued during onboarding. (Full steps and instructions on creating a data backpack here).
Note: Users will be required to mark their credential as public so that the API will be able to query it. This is like implicit consent ;)


Visit guild.xyz, and click Create a Guild.
Choose Discord as the designated platform. Be sure that your wallet is connected and you've signed a message to verify ownership.
Once you OAuth with the popout window, you'll be able to select the server you're an admin in, and add the bot.
Indicate if you'll grant a specific role in Discord, and you'll see the following modal to Edit the role.
Click on add requirement.
Let’s make it so that we only grant access to people with a certain type of Credential in their Disco Data Backpack. Click on Add Requirements. Under the List of Integrations, select Disco.
Add the Credential Requirement.
Under Credential Type, you’ll need to fill in the exact type of Credential you’d like to be checking for. Ensure that you type the exact credential the way it’s spelled: OfficialDisconautCredential, MembershipCredential and optionally, the Issuer DID!
We'll check for the OfficialDisconautCredential below.
Hit Save, and now you have a community Discord gated by a Verifiable Credential! You can now distribute this link, and people can check if they have access by connecting their wallet.
Last modified 4mo ago