Babies and planes

Kelly 👪💕
For those who have had a baby before, what's the youngest a baby can be to go on a plane? I just recently got asked to be a godmother which means if I go to the celebration my baby girl will be just over two months. I have no idea if that's too early to go on a 5.5hr flight. Are there any dangers or  am I just being paranoid?