Where do submit a 8863 for a different year?

I qualified for the American opportunity tax credit (AOTC) and I've completed the 8863 but I can't find where I would submit it. Can I do it online or does it have to be through the mail.