How to connect your knowledge repository