You fill out the form basically a little before departure. Online. JetBlue sends an email. As I think Delta does as well. Someone posted a link for AA. You just fill it out and submit. It connects to your flight with the locator number