Connecting a third-party microswitch to grove

How can I connect a third-party microswitch to the grove-system. I prefer using a third-party microswitch because it’s belongs to the model I want to build.
example switch