diff --git a/src/CaosDB.jl b/src/CaosDB.jl
index 341e2caa59323720495eeb7c7328427b6846a223..f17fb67a17e550235c24f5f78d19842832503b51 100644
--- a/src/CaosDB.jl
+++ b/src/CaosDB.jl
@@ -1,5 +1,14 @@
 module CaosDB
 
+using CxxWrap
+
+# Adapt this path if you haven't compiled jlcaosdb to `caosdb-julialib/build`
+@wrapmodule(joinpath(pwd(), "build/lib/libjlcaosdb"))
+
+function __init__()
+    @initcxx
+end
+
 export dummy_func
 
 """