Svyset Stata. Therefore, you can svyset with the random groups as PSUs and apply