How do I turn my driver license into a student pilot license?

I have been taking flying lessons for sport pilot and my instructor told me I still need to go to an AME to get my student pilot license. Is this true? I don’t want or need a 3rd class medical…
Thanks!