You've got to be there 45 minutes in advance. Depending on the airline you fly and the seat you want to get, I'd suggest to go there early (like 3-4 hours in advance), get your seat and afterwards take a stroll through Boston and enjoy breakfast/lunch/dinner. Then arrive 40 minutes before departure back at the airport and go through security. That's usually enough.