How early can i start lining up at the ticket booth at Disneyland?

I will be traveling by bus so parking is not an issue. I want to get an early start co i can get my very first Annual Passport. The gates opens at 8 am if all goes as plan on the day I plan on going.