Palantir worked for the Clinton Foundation.
https://wikileaks.org/podesta-emails/emailid/45010
For at least several years and definitely before Trump was on the map politically.
The Podesta Emails literally have Alex Karp, the CEO, paying 100k to talk to Bill Clinton.
http://i.dailymail.co.uk/i/pix/2016/11/05/02/3A142FF40000057...