Activating the plugin via API