How do you get the pirates parrot to the pirate on poptropica?

Get the cracker from the pub and use it beside the pirate