Use a plugin
Learn how to start a plugin server in the development environment and use it from Connery in Slack.
Last updated
Learn how to start a plugin server in the development environment and use it from Connery in Slack.
Last updated
If you landed on this page, we assume you already know which plugin you want to start using.
If not, you can either create a new plugin or choose one from the list of available open-source plugins that offer the actions you need.
Then, continue with the following steps.
Copy the .env.example
file to .env
and update the environment variables with your values.
Check the plugin server configuration to learn more about the available environment variables.
If you are running the plugin server on GitHub Codespaces, share the port 4201
by following GitHub’s official guide on sharing ports.
If you are running the plugin server on your local machine, you can use ngrok to expose the port 4201
of the plugin server, making it accessible from the Internet. The following command will generate a public URL that you can use to access the plugin server from the Internet.
Create a custom plugin on the Connery Platform;
Create an action in the Connery Platform based on the action from the plugin server;
Use the action from the Connery app in Slack.
You can use the Plugin Server’s REST API from any other app or build your own app to take advantage of the actions.
Open the plugin repository in GitHub Codespaces or clone it on your local machine.
Run the following command to start the plugin server.
Check the plugin server documentation to learn more.
To continue, you must install all the dependencies defined in the ./package.json
file. Run the following command to install the dependencies.