How to add every user of Community to be a member

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.

@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.
  2. Use Our API: After setting up the webhook, use our API to add new users to your community. Find the instructions here.

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