In the USA, gender determination of the embryo is allowed and is easily performed through embryo biopsy then comprehensive chromosome screening called PGT-A (preimplantation genetic testing for aneuploidy).
The procedure involved the embryo(s) undergo removal of several outer cells followed by vitrification (freezing) while the cells are sent to a specialized laboratory to be analyzed. The entire chromosomal content of the embryo(s) is analyzed to in addition to determining the sex so the intended parent(s) received a chromosomally normal embryo of the desired gender.
Suggested for you: Gender Selection – Can You Actually Choose Your Baby’s Sex?.

Mark P. Trolice
MD, FACOG, FACS, FACE
Mark P. Trolice is the Director of Fertility CARE – The IVF Center and Clinical Associate Professor in the Department of Obstetrics & Gynecology (OB/GYN) at the University of Central Florida College of Medicine. He is Board-certified in REI and OB/GYN, and maintains annual recertification. His colleagues select him as Top Doctor in America® annually, one among the top 5% of doctors in the U.S.
License: ME 78893