Can I use the Plugin API to set interactions?

You can also see this topic: Wiring up reactions from plugin