Way to auto add new user to a specific folder or group?

Hi there,
I can’t found a tutorial about this, I want to automatically add new user to a group which have some libraries.
I know I can add files to default “my libraries” folder for new user, but I want to set new user automatically added to a group when they sign up.
How can I do this?