Custom Script with Kirby Core


I have been wondering. If i were to implement kirby functions into another script, how would i embed the core?

Mainly I am interested to call the

command from another php file which is not part of a template or does not require to accessed by visitors.

I have tried to require kirby/bootstrap.php with no success.

Best regards,


What did your try precisely?

$kirby = kirby();

doesn’t give you a working $kirby object to work with?