# Create new Provision Function

A Provision function will have JavaScript code that takes inbound data and calculates the actions to be performed for correct provisioning of entities (Assets, Devices, Subscriptions, and Subscribers).

## Steps

### Administrative Data

Essential data for the registration and identification of a provisioning function in the platform.

{{< staticImage "ux/ProvisionFunctionWizard/Steps/administrativeData.png" "Creation" >}}

### Definition

Processor configuration parameters and JavaScript processor specification.

Additionally, the definition of provisioning functions has a menu on the left side that allows for different actions:

**- FullScreen**  
**- Add Function**  
**- Validate Code**

#### FullScreen

Expands to occupy the entire screen, making it easier for visualization.

{{< staticImage "ux/ProvisionFunctionWizard/Steps/btnMaximize.png" "Creation" >}}

#### Add Function

Provides the option to add different functions.

{{< staticImage "ux/ProvisionFunctionWizard/Steps/btnBasicFunctions.png" "Creation" >}}

Let's add the "New entity" function.

{{< staticImage "ux/ProvisionFunctionWizard/Steps/entityFunction.png" "Creation" >}}

#### Validate Code

Checks the JavaScript code; if it's correct, it enables the Next button.

{{< staticImage "ux/ProvisionFunctionWizard/Steps/btnValidate.png" "Creation" >}}

### Summary

Summary of the data entered previously.

{{< staticImage "ux/ProvisionFunctionWizard/Steps/summary.png" "Creation" >}}

{{% children sort="weight" depth="10" %}}

---
