Install repo and packages
yum install https://repo.saltstack.com/py3/redhat/salt-py3-repo-latest.el8.noarch.rpm
On master:
yum install -y salt-master
firewall-cmd --permanent --zone=public --add-port=4505-4506/tcp firewall-cmd --reload
On minion:
yum install -y salt-minion