A connector allows you to interact mainly with third-party APIs. This enables you to connect and interact with APIs such as Twitter, Gmail, and Facebook easily.
This will be a part of ballerina-tools-0.8x.zip distribution [1].
To test a connector action written in Ballerina language use the run command as follows.
Go to <CONNECTOR_NAME>/samples/<CONNECTOR_NAME> and run the command like in below,
$ ballerina run main samples.bal
Reference: