# Plugin support for creating groups

**URL:** <https://meta.discourse.org/t/plugin-support-for-creating-groups/60285>\
**Category:** Product Support\
**Created:** [April 1, 2017, 4:10pm UTC](https://meta.discourse.org/t/plugin-support-for-creating-groups/60285 "2017-04-01T16:10:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![wichall](https://avatars.discourse-cdn.com/v4/letter/w/c77e96/32.png) [@wichall](https://meta.discourse.org/u/wichall)\
**Post date:** [April 1, 2017, 4:10pm UTC](https://meta.discourse.org/t/plugin-support-for-creating-groups/60285/1 "2017-04-01T16:10:00Z")

</div>

Hello, I’m totally new to discourse and have tried to get myself stuck in to making a plugin straight away.

Starting to work my around, but can anyone tell me what the best method would be for creating a new group within my plugin?

The end goal is to automatically add invitees to groups, created for each individual inviter.

Would it be best to directly call the GroupsController class or do some sort of post via the js?

---

_[View the full topic](https://meta.discourse.org/t/plugin-support-for-creating-groups/60285)._
