404 response of api

I don’t understand how to get a user token
do I need to create an application?