# Script Mediator

Synapse supports Mediators implemented in a variety of scripting languages such as JavaScript, Python or Ruby. There are two ways of defining script mediators, either with the script program statements stored in a separate file which is referenced via the local or remote registry entry, or with the script program statements embedded in-line within the Synapse configuration.

### Script Type

- Inline: Specify the script inline
- Registry: Store the script in registry and refer it using the key

### If Inline Selected

#### Language

Choose from variety of scripting languages supported

#### Source

If inline selected as the Script type, specify the source

### If Registry Selected

#### Function

Function of the script language to execute

#### Key

Registry location of the source

#### Include Keys

Scripts sources to be included