Hi Nikhil,
This documentation will help you:
https://docs.mendix.com/appstore/modules/saml
https://brownbot.com/2020/01/16/mendix-saml-sso-to-azure-ad/
https://docs.mendix.com/appstore/modules/mendix-sso
The metadata should be provided from the Identity Provider (for example Azure AD). They need to give either a URL where you can download the metadata or give the whole package. Afterwards you can configure the metadata when the SAML module is installed.
Kind regards,
Martijn Rijneveen