integrate plugin in sample app