Get token for automated tests

Hi, All!
I will plan automate my API tests.
In tests I use token which generated by Auth0.
For take this token I use login\password for authentication on website and copy token in special info section.
How I can receive this token automatically and paste it in my yml file with test ?