Using kirby inside other software

What exactly do you want to do? What is your use case?

Check out this thread: Traversing content outside of templates