New to MMA and Fitness looking for knowledge.

I want to have a healthy body and a strong mind and it seems MMA does both very well. I am quite skinny and starting from the ground up both physically and experience-wise. Should I just focus on building muscle and getting fit at first and wait on technique or do both? Any advice would be much appreciated.