Just Dance was a code.
`` Just Dance '' is the debut single by American singer Lady Gaga . 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 '' .