add plugin example with configuration object
add example for external plugin