# Comment ajouter manuellement un utilisateur dans Discourse ?

**URL:** <https://meta.discourse.org/t/how-to-manually-add-user-in-discourse/69878>\
**Category:** Product Support\
**Created:** [Septembre 12, 2017, 9:20 UTC](https://meta.discourse.org/t/how-to-manually-add-user-in-discourse/69878 "2017-09-12T09:20:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![consideRatio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/consideratio/32/126623_2.png) [@consideRatio](https://meta.discourse.org/u/consideRatio)\
**Post date:** [Mai 7, 2019, 12:31 UTC](https://meta.discourse.org/t/how-to-manually-add-user-in-discourse/69878/4 "2019-05-07T12:31:33Z")

</div>

I want to create a user to act as a service account, but I’m using single sign on and would need to do quite a bit of work to actually get a service account from the underlying user provider there. In other words, I don’t know how to do the create an account step or invite step.

I understand I could create a new user by switching away from SSO for a while and then back, is that what I need to do or can I manage to create a user without doing this?

Perhaps there is a ruby related command I can run from the terminal of my virtual machine that has a /var/discourse folder with ./launcher etc in it.

Perhaps there is a SQL query I can run from somewhere?

---

_[View the full topic](https://meta.discourse.org/t/how-to-manually-add-user-in-discourse/69878)._
