From Fedora Project Wiki

1. Install the prerequisites:

# yum install -y realmd oddjob oddjob-mkhomedir sssd adcli samba-common

2. Have realmd discover the AD host:

# realm discover

3. Have realmd join the AD host and type the AD Administrator password when prompted:

# realm join

After following the above commands, you should be able to run the following against the AD domain:

# id
# ssh