Your first question is answered here: https://discussion.fedoraproject.org/t/i-just-want-to-install-a-regular-fedora-workstation-system-using-a-kickstart-file-as-if-i-did-interactively-but-im-unable-to-do-it/72687
The answer to your second question is documented here: https://docs.fedoraproject.org/en-US/fedora/rawhide/install-guide/advanced/Kickstart_Installations/#chap-kickstart-installations