Memberful integrates directly with Discourse so you can manage access to a members-only discussion forum through your memberships. This integration uses groups and single sign-on settings in Discourse to control who can view and participate in your community. In this help article, we’ll show you how to create Discourse groups, connect your forum to Memberful, map plans to groups, protect categories, and manage important Discourse settings.Documentation Index
Fetch the complete documentation index at: https://memberful.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Create a Discourse group
Before you connect Discourse to Memberful, create the Discourse groups you want to use for member access.If you update your Discourse groups after the initial integration, it may take some time for members to re-sync.
Generate an API key
Generate a Discourse API key before connecting the integration.Connect Memberful to Discourse
Use the API key and your Discourse admin details to connect the integration in the Memberful dashboard.Enter your Discourse details
Enter your Discourse site information, including the API key you generated.
Review Discourse settings changed by Memberful
When Memberful connects to Discourse, it updates several Discourse settings automatically.Do not reset the DiscourseConnect (SSO) settings. If you reset them, the integration stops working.
Advanced: Discourse settings
When Memberful connects to Discourse, it updates some of your default Discourse settings. Don’t reset the DiscourseConnect settings or the integration will stop working.Settings → Login
enable discourse connect: On (formerlyenable_sso)enable discourse connect provider: Off (formerlyenable sso provider)discourse connect url: Set by Memberful (formerlysso url)discourse connect secret: Set by Memberful (formerlysso secret)auth overrides email: On (formerlysso overrides email)auth overrides name: On (formerlysso overrides name)
Settings → Users
email editable: Off
Settings → Posting
display name on posts: On
Settings → Plugins
disable discourse narrative bot welcome post: On
These settings do not apply to members who register for free.
Once setup is complete, active members are added automatically to their assigned Discourse group after they sign in through Memberful.
If a member’s subscription expires, they are removed from the associated Discourse group, even if they still have a Discourse account.
Protect your Discourse categories
To restrict access to member-only areas, update the security settings on the Discourse categories you want to protect.
Repeat this process for each members-only category.
Default categories
Default Discourse categories such as Meta do not have security settings. If you want a members-only forum, do not use the default categories for protected content.Disable posting to Uncategorized
The Uncategorized category does not include a Security tab. To prevent posting there, go to Admin → Settings → Posting and disable posting to Uncategorized.
Disallow anonymous access
If you run a protected Discourse forum, it is a good idea to disable anonymous access. Go to Settings → Login and disallow anonymous access.








