Declaring scholarships as income for American Opportunity Credit on taxes

I thought you can only allocate the scholarship up to the actual amount of living expenses according to the fact sheet.