This procedure is compulsory for students coming from one of the countries listed on the CampusFrance site prior to visa application.
The procedure consists in filling an online form and having an interview with a CampusFrance officer about your study project.
All the info is here: https://www.campusfrance.org/en/application-higher-education-france