How do I get the SP Metadata for SAML Setup?

My first time setting up SAML and I’m a bit confused. I have recieved the IDP Metadata, but need to provide them with the SP Metadata. My understanding, which could be wrong, is that the SP in this case the server running Discourse. Do I just need to run a command somewhere to get this?