# How to add every user of Community to be a member

**URL:** <https://forum.social.plus/t/how-to-add-every-user-of-community-to-be-a-member/1214>\
**Category:** UIkit\
**Created:** [March 26, 2024, 9:41pm UTC](https://forum.social.plus/t/how-to-add-every-user-of-community-to-be-a-member/1214 "2024-03-26T21:41:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sowmya](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@Sowmya](https://forum.social.plus/u/Sowmya)\
**Post date:** [March 26, 2024, 9:41pm UTC](https://forum.social.plus/t/how-to-add-every-user-of-community-to-be-a-member/1214/1 "2024-03-26T21:41:31Z")

</div>

We are using Amity ui-kit in our product we trying to figure out a way, to add every user of our community to be part a member.  
Is there any default setting or passing any flag to set as a member?  
Versions:  
“@amityco/ui-kit”: “2.15.3”,  
“react”: “^18.2.0”,  
“react-dom”: “^18.2.0”,  
Code for Reference:

  
\<AmityUiKitProvider  
ref={ref}  
apiKey={props.apiKey}  
apiRegion={props.apiRegion}  
apiEndpoint={props.apiEndpoint}  
userId={props.userId}  
displayName={props.displayName || props.userId}  
onConnected={handleConnected}  
onDisconnected={handleDisconnected}  
authToken={props.token}  
actionHandlers={{  
onClickUser: userId =\> {onClick(userId)},  
}}\>  
  
  
  

From the Amity console, I was able to add individual users as a member, but was looking if we can programmatically when the user gets created for the first time.

---

<div class="post-metadata">

**Author:** ![SocialPlus\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.social.plus/socialplus_support/32/798_2.png) [@SocialPlus\_Support](https://forum.social.plus/u/SocialPlus_Support)\
**Post date:** [March 27, 2024, 10:43am UTC](https://forum.social.plus/t/how-to-add-every-user-of-community-to-be-a-member/1214/2 "2024-03-27T10:43:54Z")

</div>

@Sowmya To add new users to a community automatically, please follow these steps:

1. **Enable a Webhook** : Set up a webhook for the `user.didCreate` event by visiting [this link](https://ekoapp.atlassian.net/servicedesk/customer/portal/3/create/56).
2. **Use Our API** : After setting up the webhook, use our API to add new users to your community. Find the instructions [here](https://api-docs.amity.co/#/Community/post_api_v3_communities __communityId__ users).

This will automate adding users as community members when they first create an account.  
For further assistance, feel free to contact us.
