# How to Setup Discourse

**URL:** https://meta.discourse.org/t/how-to-setup-discourse/33206
**Category:** WordPress
**Created:** [September 14, 2015, 7:43am UTC](https://meta.discourse.org/t/how-to-setup-discourse/33206 "2015-09-14T07:43:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jbportal](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@jbportal](https://meta.discourse.org/u/jbportal)
#### Post date: [September 14, 2015, 7:43am UTC](https://meta.discourse.org/t/how-to-setup-discourse/33206/1 "2015-09-14T07:43:06Z")

</div>

Hi,

I have install pt-wp-discourse-sso plugin and under setting [WP Discourse](https://github.com/discourse/wp-discourse) SSO appear, but I dont understand from where I can get my secret key and Discourse URL.

can anyone tell me how to get these things and setup this plugin

Thanks

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [September 14, 2015, 9:04am UTC](https://meta.discourse.org/t/how-to-setup-discourse/33206/2 "2015-09-14T09:04:00Z")

</div>

For their “3. Enabling SSO on Discourse”, you just need to search for `enable_sso`, `sso_url` and `sso_secret`in the Discourse admin panel.

I agree the setup instructions could be a bit more step-by-step though. Maybe @etc can help you out with that 😄

---

<div class="post-metadata">

### Author: ![etc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/etc/32/114717_2.png) [@etc](https://meta.discourse.org/u/etc)
#### Post date: [September 14, 2015, 10:45am UTC](https://meta.discourse.org/t/how-to-setup-discourse/33206/3 "2015-09-14T10:45:07Z")

</div>

The setup is pretty straightforward. I even provide a forum link that explains which settings you need to switch on. Let me know if you continue to have issues.

1. The secret key is something you generate. It’s can be any random string. You could even just type “asdfasdfasdfasdf” if you wanted.

2. You need to setup your Discourse forum somewhere. If you don’t know your Discourse URL, then you need to contact your Discourse host and ask them what the URL is. This isn’t something the plugin sets up for you. The plugin merely connects your existing WP installation with an existing Discourse forum.

---

<div class="post-metadata">

### Author: ![etc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/etc/32/114717_2.png) [@etc](https://meta.discourse.org/u/etc)
#### Post date: [September 14, 2015, 10:45am UTC](https://meta.discourse.org/t/how-to-setup-discourse/33206/4 "2015-09-14T10:45:30Z")

</div>

Thanks for tagging me and letting me know about the thread!
