# Create user automatically in Discourse when they sign up in Wordpress?

**URL:** <https://meta.discourse.org/t/create-user-automatically-in-discourse-when-they-sign-up-in-wordpress/58494>\
**Category:** WordPress\
**Created:** [Mars 6, 2017, 7:35 UTC](https://meta.discourse.org/t/create-user-automatically-in-discourse-when-they-sign-up-in-wordpress/58494 "2017-03-06T19:35:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![lkramer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lkramer/32/83897_2.png) [@lkramer](https://meta.discourse.org/u/lkramer)\
**Post date:** [Mars 6, 2017, 7:35 UTC](https://meta.discourse.org/t/create-user-automatically-in-discourse-when-they-sign-up-in-wordpress/58494/1 "2017-03-06T19:35:34Z")

</div>

Hi everyone. We’ve been using WordPress and the wp-discourse plugin for the past several months and it’s working great.

Here’s how it currently works: Someone signs up via our WordPress site and then when/if they visit the forum part of our site and click the blue Login button, Discourse automatically creates an account for them.

This all works great.

So, here’s the only problem – If they don’t go over to the forum section and click the Login button, they don’t get an account setup for them in Discourse and they don’t get all of Discourse’s awesome “Summary” emails etc etc. We really want our new users to be enticed to participate in the forums right off the bat.

What we’d like to do is automatically setup an account in Discourse for them upon them signing up for WordPress. [I can use the API to create a Discourse user](http://docs.discourse.org/#tag/Users%2Fpaths%2F~1users%2Fpost), but I’m just not sure if I do this whether that account will “play well” with the wp-discourse plugin sso code.

Just wondering if anyone has already been down this road and wants to share how they did it? 🙂

---

_[View the full topic](https://meta.discourse.org/t/create-user-automatically-in-discourse-when-they-sign-up-in-wordpress/58494)._
