Electronic Travel Authorisation (eTA)
Not earlier then 3 months of your arrival!
https://www.etakenya.go.ke/en

You need a jpg, NOT bigger then 1 MB