It is very simple and straightforward. You need to create a new event in amplitude which is called "join group". Then define where or in which groups this event happens and search for that group name. Apply the changes and you are able to see the result on the same page.
This video recording can be helpful: https://recordit.co/TLBycS3sRe33