If you are curious on how Boston Dynamics programmed their robots to dance, you can watch this video from Adam Savage's Tested.
Start building!
Go through the Preset Programming
Take a look at the Instruction Manual if needed