How do I include identity provider metadata url in service provider configuration?

An IDP gave me an URL for its metadata.
How do I include this in my SP configuration?

Hi Sunil
You should download the metadata to a local file.
Then build and run the ImportMetadata project which you’ll find under the Examples\Metadata folder.
Usage: ImportMetadata
where the file contains the SAML metadata.
The saml.config file, if any, is assumed to be in the current directory.

[quote]
ComponentSpace - 1/10/2017
Hi Sunil
You should download the metadata to a local file.
Then build and run the ImportMetadata project which you'll find under the Examples\Metadata folder.
Usage: ImportMetadata
where the file contains the SAML metadata.
The saml.config file, if any, is assumed to be in the current directory.
[/quote]

Thanks I think i was just confused by the exportmetadata vs importmetada.
I think this answers my question.

You’re welcome.