Discord

Connect your Discord server to Zendra and automatically grant roles to active members.

On this page
  1. When you’d use this
  2. Connecting your Discord server
  3. Role management settings
  4. Adding Discord access to a plan
  5. The member experience
  6. Important: bot role hierarchy in Discord
  7. Common issues
  8. Keep learning

Zendra’s Discord integration connects your membership program to your Discord community. When a member is active on a plan with Discord access, they automatically receive the roles you’ve configured — which can unlock private channels, permissions, and other capabilities within your server.

When a membership ends, roles can be removed automatically (with an optional grace period), so access stays in sync without any manual work.

When you’d use this

  • Give members access to a private Discord community.
  • Sync Discord roles to membership plans automatically.
  • Remove community access when a membership ends.

Connecting your Discord server

Before you can use Discord as a perk, you’ll need to connect your Discord server to Zendra.

  1. In Zendra, go to Settings > Integrations.
  2. Find Discord and click Connect Discord server.
  3. You’ll be redirected to Discord to authorize the Zendra bot. Select the server you want to connect, then click Authorize.

The bot requires a few permissions to manage roles on your behalf: Manage Roles, Kick Members, Create Instant Invite, and View Channels. These are requested automatically during the authorization flow.

Zendra member community: Discord integration settingsOnce connected, you’ll see your server’s name and icon on the Integrations page, confirming the connection is active.

To disconnect your server, click Disconnect on the server card, then click Disconnect again to confirm. Zendra stops syncing Discord roles for your members until you reconnect, and keeps your role management settings so they’re ready when you do.

Role management settings

On the Discord integration settings page, you can control what happens when a membership ends:

  • Remove role when membership ends — Enabled by default. When a membership ends or is paused, the assigned roles are removed from the member in Discord.
  • Removal delay — Optionally wait a number of days before removing the role. This gives members a grace period — useful if you want to allow time for resubscription before they lose access. If the member resubscribes during this window, the removal is skipped automatically. Zendra removes roles once a day for members whose grace period is over, using the delay set at that point, so shortening the delay also applies to members who are already waiting. A delay of 0 removes roles straight away, and turning off Remove role when membership ends stops removals that haven’t happened yet.
  • Remove from server — If enabled, members are removed from the Discord server entirely once they have no active memberships with Discord perks. Disabled by default.
  • Grant role during trial — Enabled by default. Members on a free trial receive Discord roles right away, rather than waiting until their first payment.

Adding Discord access to a plan

With your server connected, you can add Discord access as a perk on any membership plan.

  1. Go to Plans and open the plan you want to configure.
  2. In the Integrations section, add a Discord access perk.
  3. Select one or more roles from the picker — these are pulled directly from your Discord server. You can also create a new role from this screen if needed.
  4. Give the perk a label (this is what members see in their portal, e.g. “Discord access” or “Join our community!”).
  5. Save the plan.

Each plan can have one Discord access perk, but that perk can assign multiple roles. If you have tiered plans (e.g. Silver, Gold, Platinum), each tier can grant different roles with different channel access.

The member experience

Once you’ve added a Discord access perk to a plan, members will see a Discord section in the member portal when viewing that membership’s perks.

Zendra member community: Discord in member portal### Connecting for the first time

When a member hasn’t connected their Discord account yet, they’ll see your server’s name, icon, description, and member count — along with step-by-step instructions and a Log in with Discord button.

Zendra member community: Discord login requiredClicking the button opens a Discord authorization popup. The member logs in (or creates an account), authorizes Zendra to add them to your server, and they’re done.

Zendra member community: Discord member connection

This part will show the Zendra app name rather than your store. This is due to how the Discord API works: our connector app is what adds members and manages roles, so the member sees its name when initially joining.

Zendra handles the rest — the member is added to your server and assigned the correct roles immediately.

After connecting

Once connected, the portal shows a Connected badge and an Open Discord button that takes the member directly to your server.

Zendra member community: Discord connectedThe server card displays the banner image, icon, and description from your Discord server settings — so make sure those are set up the way you want members to see them.

What happens automatically

Members don’t need to do anything beyond the initial connection. From there, Zendra keeps their roles in sync in the background:

  • Membership activates — roles are granted
  • Membership renews — roles stay in place
  • Membership is cancelled, paused, or expires — roles are removed (according to your settings)
  • Member upgrades or downgrades — roles update to match the new plan

If a member disconnects their Discord account (by revoking access through Discord’s settings), the connection button will reappear in their portal so they can reconnect. With Remove role when membership ends on, their roles come off straight away, without the removal delay, and reconnecting gives them back.

Important: bot role hierarchy in Discord

For Zendra to manage roles, the Zendra Memberships bot role must be positioned above the roles it needs to assign in your Discord server’s role list.

To check this, go to Server Settings > Roles in Discord. Drag the Zendra Memberships role above any roles you’ve assigned to membership plans. If the bot role is below a managed role, Discord will block the assignment and Zendra will show a warning on the Discord perk settings page.

If the bot is missing required permissions (such as Manage Roles or Create Instant Invite), Zendra detects this and surfaces a warning in the integration settings, on the plan’s integrations section, and on the perk configuration screen. Follow the on-screen instructions to reconnect in order to fix the permissions in your Discord server settings.

Common issues

  • Roles aren’t being assigned. Check the bot role hierarchy — the Zendra bot’s role must sit above any roles it manages (see the section below).
  • A member wasn’t added to the server. They need to connect their Discord account from the member portal first.
  • A member whose membership ended a while ago just lost their role. Zendra checks connected members every week, and starts the removal delay for anyone whose membership no longer earns the role, so older removals that were missed catch up.

Keep learning

Colophon. Reprinted from the Zendra Field Journal, the notes we keep on why customers stay. The original, with any later corrections, lives at zendra.com/docs/discord/. Paper copies are welcome to wander; the catalogue number stays with us.

Still stuck? Contact support and we’ll help.