---
schema_version: "1"
id: aa7e448ce74ef5fd5ed111313a4e260d0cc1c6d8afa37951eb2fd48d47126ae2
title: Scripting Module 2.1
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/scripting-module/latest/index.md
canonical_url: https://docs.mulesoft.com/scripting-module/latest/
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 65b7b9fc4160c2818e2aaf47bbc407d845cdc32be37e2e74c4e1e3a94d296784
description: MuleSoft Documentation Site
release: "2.1"
latest: true
---
---
product: Scripting Module
version: 2.1
is-latest-version: true
---

# Scripting Module 2.1

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Scripting module executes custom logic written in a scripting language. In some cases, you might
need to create custom code to perform all or part of a complex task, or to reuse modules that you
have already written. Starting with Scripting module version 2.0, you must provide a compliant
`jsr-223` scripting language engine.

## Before You Begin

To use this module, you must be familiar with:

- Anypoint Connectors

- Mule runtime engine (Mule)

- Elements in a Mule flow

- Global elements

- Creating a Mule app using Anypoint Studio

Before creating an app, you must have access to Anypoint Platform.

## Common Use Cases for the Module

Scripting module performs logic in a supported language, which enables you to access variables and
the registry, log information via the Mule logger, read payloads, and so on.

For examples, see [Examples](https://docs.mulesoft.com/scripting-module/latest/scripting-module-examples).

## Audience

- New user, read:

  - [Using Anypoint Studio to Configure the Connector](https://docs.mulesoft.com/scripting-module/latest/scripting-module-studio) to create your Mule
    app

  - [Examples](https://docs.mulesoft.com/scripting-module/latest/scripting-module-examples), which provides one or more use cases for the connector

- Advanced user, read:

  - [XML and Maven Support](https://docs.mulesoft.com/scripting-module/latest/scripting-module-xml-maven)

  - [Examples](https://docs.mulesoft.com/scripting-module/latest/scripting-module-examples), which provides one or more use cases for the connector

For a major or minor release, see [Upgrading and Migrating](https://docs.mulesoft.com/scripting-module/latest/scripting-module-upgrade-migrate).

## Next Step

After you complete the prerequisites and experiment with templates and examples, you are ready to
create an app and configure the connector using [Anypoint Studio](https://docs.mulesoft.com/scripting-module/latest/scripting-module-studio).

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Use Exchange to Discover Connectors, Templates, and Examples](https://www.mulesoft.com/exchange/?search=scripting-module&type=connector)

- [Salesforce Help](https://help.salesforce.com)
