Compiling custom kernel

I am interested in compiling a custom kernel in Ubuntu 20.04 so I can use the fingerprint scanner in my hp envy x360. Also I want to learn how to learn the process. Where do I start? How difficult is it? Any pointers and/or advice would be greatly appreciated.