The lyrics of "It's a New Day" include: "I woke up this morning, feeling brand new/Cuz the dreams that I've been dreaming has finally come true."
A video featuring photos of Obama played on a giant screen behind the Grammy-award winning artist.
Earlier this year, will.i.am made a "Yes We Can" music video that showed celebrities reciting an Obama speech. The video received millions of online views.
Other guests Friday were George Stephanopoulos and Sam Perry, formerly known as "Mr. Man." He's the Silicon Valley businessman whose shoulder Oprah Winfrey cried on during Chicago's Election Day rally.