It's not the case that you have to see an endocrinologist to get T. So many people seem to believe that. The same as you don't have to see a therapist and get a letter first. It will also depend on where in the world you are located - next time, just remember that you should state your country because this really is an international forum with members from all over the globe.
Anyway, as has already been stated - any doctor can prescribe T with informed consent. The question is WILL they. Some are hesitant to prescribe T because they don't know anything about it, some are more bold (like my GP) and educate themselves and prescribe it anyway.
Basically there are a few scenarios that happen to most guys:
a) Find a doctor (any old GP, doesn't matter) - talk to them about your being trans*. Ask them if they would consider treating you (i.e., prescribing T to you). Educate them if you need to - go in prepared with information about the risks, process, etc.
If they agree to treat you, ask them if they will perform blood tests on you to check your base levels. Then, if they are happy to give you T (with or without informed consent), they usually just write the script, you fill it, done.
b) If the doctor says, "no, I don't feel comfortable giving you T right now - go see a therapist and come back with a psychiatric clearance letter", THEN you need to see a therapist. They see you for however long, get the letter, go back to the doctor.
c) If the doctor is happy with the therapist/psych's approval letter, he/she will either write the T script for you or refer you to an endocrinologist.
d) The endo may run blood tests before treating you. Then they will be the one to determine your dosage, etc.
That's about all I can think of right now.