Article Six of the United States Constitution
Under this clause, Congress may include the words "so help me God" in the oath.  However, a person cannot be required to say those words.  A person cannot be required to swear or say anything about religion in order to work for the United States government.