Usually you get rabies from saliva into a open wound or as seen below.
www cdc.org
Rabies exposure occurs usually through biting a human or another infected animal. Transmission can also occur through saliva touching an open wound or touching mucous membranes.
mkh9