make service client in plugin