Just Dance is a 2008 song by Lady Gaga , from the album , The Fame .
It was released in 2008 as the lead single from Gaga 's debut studio album The Fame . The song was written by Gaga in ten minutes as `` a happy record '' .