Have a look at our WordPress plugin: WP Discourse – WordPress plugin | WordPress.org. That plugin allows you to configure Single Sign On between a WordPress site and a Discourse site. If you have questions about how to set that up, try asking them in our Support > WordPress category.
Have a look at discourse/docs/INSTALL.md at main · discourse/discourse · GitHub. The link in that guide to the Beginner Docker install guide is a good place to get started with installing Discourse.