For more information of how to use SAMLmetaJS properly, visit the SAMLmetaJS documentation.

The textarea element below has SAMLmetaJS enabled, and you may play around with it.