I am not sure exactly where you are having problems, but this is the high level process you need to work through:
1) Make sure CAS is built with the PAC4J-webflow depedency
2) Configure SAML in the cas.properties file
See: Delegate authentication to an external SAML2 IdP
You may be able to start with some of the SAML Keystore information (keystore password and private key password) blank and CAS can generate the keystore on an initial test.
THIS IS ONLY FOR DEV and test Purpose. In a working DEV/PROD environment you should set up a real private key and keystore with passwords and enter this information in cas.properties using pac4j.saml properties defined in the document above.
You need fill in the pac4j.saml properties to provide a path to the SAML keystore and CAS needs to be able to read from and write to that path to create and use the file
You need fill in the pac4j.saml properties to provide the IDP entity ID.
You need fill in the pac4j.saml properties to provide a path to the IDP metadata. This could be a file path or a URL.Either way CAS needs read permissions to the path.
I direct the metadata to /etc/cas/config and the keystores to another folder /etc/cas/keystore.
If set up correctly and keystore is usable CAS will generate sp-metada.xml file
The IDP will need the ACS and entity ID from the SP Metadata.
That should get you started. If you have done ALL of this then please include details from logs, etc of where you are having problems.
Mike