How can you get Palkia in Pokemon Mystery Dungeon Explorers of Darkness?

After defeating Palkia in the Spacial Rift to continue in the story-line, you must go back to the Spacial Rift any time later in the game and defeat Palkia. Upon doing so he will ask to join your team.