Parties to an Agreement

Who is a party to an agreement? What should one do to be deemed a party?