Where do you put the codes for super Mario 64 DS?

There is no built-in way to add cheat codes for Super Mario 64 DS, but you can buy an Action Replay DS Hacking Device for $20 and add cheat codes for almost any DS game. I added a link to the Action Replay website as well as some codes you can use for it once you get it.