Planet capture? (idk if thats what its called o-o ?)

How do you claim a planet for your team? Y'know, so it shows your team's color around the planet? I can't seem to figure it out...