The Tamagotchi Music Star links to Tamatown through a temporary password generated by the toy itself.
On the device, open the heart menu and choose PC. A password appears on screen — note it down. Then recall the username you registered, head to tamatown.com, and pick the Music Star / Music City section.
Enter the username along with the password the device gave you. If you have not made an account on the site yet, do that first, then use the LOGIN button, which sits off to the side of the page.