# Group membership scripting

**URL:** <https://meta.discourse.org/t/group-membership-scripting/226473>\
**Category:** Product Support\
**Created:** [May 8, 2022, 7:46pm UTC](https://meta.discourse.org/t/group-membership-scripting/226473 "2022-05-08T19:46:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![not-ethan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/not-ethan/32/282617_2.png) [@not-ethan](https://meta.discourse.org/u/not-ethan)\
**Post date:** [May 8, 2022, 7:54pm UTC](https://meta.discourse.org/t/group-membership-scripting/226473/2 "2022-05-08T19:54:46Z")

</div>

You can configure the group so if a user signs up with a certain email domain (The `@example.com`) they would be automatically added to a group.

Go to the mange tab of the group, membership then the first section `Automatic` add the domain.

---

_[View the full topic](https://meta.discourse.org/t/group-membership-scripting/226473)._
