Introduction
Calling a plugin from a script is one of two methods for using a plugin, the other being adding a plugin to an activity. The plugin must be one that is specifically intended to be executed within a script, such as the Jitterbit HMAC-SHA256 Generator plugin.
Initializing Global Variables
Many plugins require global variables to be initialized prior to executing the plugin. For information on determining whether these values are required, as well as how to set required or optional values, refer to Global Variable Initialization.
Executing a Plugin from a Script
Certain plugins can be called directly from scripts written in Jitterbit Script of any script type (see Script Types and Creation). Plugins are not able to be called from JavaScript scripts.
Within a Jitterbit Script, the Plugins tab of the component palette provides a list of plugins that can be run inside a script:

To add a plugin and the function needed to execute it, drag the specific plugin from the palette to the script to insert both the RunPlugin()
function and the plugin reference as a function argument.
To insert a plugin reference by itself, either position the cursor after the opening parenthesis of the RunPlugin()
function or begin typing the plugin name, and then press Control+Space
to display a list of autocomplete suggestions.
