The files mentioned in the gist are supposed to be added under a custom theme (app/design/frontend/<vendor>/theme
)
inside the folder Klevu_Search
.
Alternatively, the same could be achieved by having the files (layouts, templates) inside a custom module.