Use the UPM :
Download the Plugin :
If you are using ADFS the XML can be retrieved from this url :
https://<adfs.mysite.com>/FederationMetadata/2007-06/FederationMetadata.xml |
The SP xml can be retrieved by surfing to the following url : <baseurl>/plugins/servlet/saml/config