Yes, you must complete and submit form DS-160 before your visa appointment. Completing the DS-160 form is a prerequisite to scheduling a visa appointment.