How to connect the library