WP Discourse plugin installation and setup and Managing Discourse group membership with WP Discourse SSO should help.