Joining groups is a good idea but deeper, closer friendship takes time and effort. I went to live in France in 2013, didn't know a single soul , joined a craft and art interest group with about 50 members. I spent months moving from table to table, helping in the kitchen, staying back to tidy up, chatting and enjoying and getting to know people as the months went by and without conscious thought I realised that I had found my 'tribe'. Those of similar, if not like, mind. The initial chat was very general but soon evolved to the more personal as we began to know and trust each other. I came home after four years but have remained in contact with four special people, two visit me now and again and I would say they are as important as the friends I have known for many years.
My advice would be to join groups, be friendly, helpful and interested in others, don't be anxious or impatient about making friends it will come naturally in time.
Please don't rely on social media unless you are housebound. It is not a good route to deep and meaningful friendship.
Good luck