add init hook for integration