How do contractors like Snowden get security clearance?

How do contractors like Snowden get security clearance?