# How to Assign Usernames?

**URL:** <https://meta.discourse.org/t/how-to-assign-usernames/46163>\
**Category:** Support\
**Created:** [2016年六月22日 05:43 UTC](https://meta.discourse.org/t/how-to-assign-usernames/46163 "2016-06-22T05:43:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [2016年六月22日 06:02 UTC](https://meta.discourse.org/t/how-to-assign-usernames/46163/3 "2016-06-22T06:02:04Z")

</div>

> [@sjmscott](#):
>
> Is there a way to assign usernames to new users during the invite process?

This can be done by generating Invite Links via Discourse API:

> [@Generating lots of Invite Tokens](https://meta.discourse.org/t/generating-lots-of-invite-links/17563):
>
> warning This plugin is deprecated in favour of our core invite system. Summary: Generate multiple invite tokens link GitHub: [https://github.com/discourse/discourse-invite-tokens](https://github.com/discourse/discourse-invite-tokens)arrow_right Install: Follow the [plugin installation guide](https://meta.discourse.org/t/install-a-plugin/19157). Configuration Enable plugin After installing plugin enable site setting invite tokens enabled. Clone Discourse API Gem If you already have Git and Ruby installed on your system, you can install Discourse API by running following command from consol…

* * *

> [@codinghorror](#):
>
> Is that possible via the CSV invite method @techapj?

Bulk Invite via CSV does not support this option yet.

---

_[View the full topic](https://meta.discourse.org/t/how-to-assign-usernames/46163)._
