Auto Keying Type Blender 2.8

How do I enable auto-keying for location and rotation only in blender 2.8?

Use a Keying Set. https://docs.blender.org/manual/en/latest/animation/keyframes/keying_sets.html