> ## Documentation Index
> Fetch the complete documentation index at: https://auth0.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure the Extensibility Runtime

> Select the Node.js runtime for Actions and other extensibility types.

How you configure the runtime depends on the extensibility type.

> [tab] Actions
>
> Each Action version has its own runtime, so you can upgrade Actions one at a time.
>
> **New Action**
>
> 1. Navigate to [Auth0 Dashboard > Actions > Custom](https://manage.auth0.com/#/actions/custom).
> 2. Select **Create Action > Build from scratch**.
> 3. In **Runtime**, select **Node 22 (Recommended)**.
> 4. Write, test, and deploy your Action.
>
> **Existing Action**
>
> Create and deploy a new version of the Action with **Node 22** as its runtime, making any needed code changes. If there's a problem, [revert to the previous version](https://auth0.com/docs/customize/actions/manage-versions.md#revert-actions).
>
> **Management API and as code**
>
> Set the `runtime` property to the value for the version, for example `"runtime": "node22"`, when you create or update the Action through the [Management API](https://auth0.com/docs/api/management/v2.md) or tools built on it, such as Terraform.

> [tab] Custom Database and Social scripts
>
> Custom Database scripts and Custom Social Connection scripts share one tenant-wide runtime.
>
> 1. Navigate to **Auth0 Dashboard > Settings > Advanced**.
>
> 2. Scroll to the **Extensibility** section.
>
> 3. For **Runtime**, select **Node 22**.
>
> 4. Save your changes.
>
> > [!WARNING]
> >
> > This setting changes the runtime for Custom Database scripts and Custom Social Connection scripts at the same time. Apply and test it in a development tenant first, and change production only when you see no issues.
>
> These scripts can only `require` the modules and versions listed in [Can I Require](https://auth0.com/docs/customize/extensibility-runtime/npm-modules/can-i-require.md) for the runtime, so check every module before you change it.
>
> The Auth0 Dashboard doesn't allow updating scripts for Custom Social Connections added through the Marketplace. If a script needs changes for the new runtime, use the [Management API](https://auth0.com/docs/api/management/v2.md).

> [tab] Rules and Hooks
>
> Rules and Hooks share one tenant-wide runtime.
>
> 1. Navigate to **Auth0 Dashboard > Settings > Advanced**.
>
> 2. Scroll to the **Legacy Extensibility** section.
>
> 3. For **Runtime**, select **Node 22**.
>
> 4. Save your changes.
>
> > [!WARNING]
> >
> > This setting changes the runtime for Rules and Hooks at the same time. Apply and test it in a development tenant first, and change production only when you see no issues.
>
> > [!WARNING]
> >
> > By default, **Runtime** under **Legacy Extensibility** is set to **Same as current runtime**, so Rules and Hooks use the **Extensibility** runtime shared with Custom Database scripts and Custom Social Connection scripts. Select a specific version only to override it.
>
> Rules can only `require` modules listed in [Can I Require](https://auth0.com/docs/customize/extensibility-runtime/npm-modules/can-i-require.md). In Hooks, add each module as an explicit dependency. To plan a move to Actions instead, read [Migrate to Actions](https://auth0.com/docs/customize/actions/migrate).

> [tab] Extensions
>
> Each Extension has its own runtime, which is set when you install or upgrade it. Changing the tenant-wide **Runtime** setting in **Settings > Advanced** doesn't change the runtime of installed Extensions.
>
> To move an Extension to the latest runtime, upgrade it:
>
> 1. Navigate to [Auth0 Dashboard > Extensions](https://manage.auth0.com/#/extensions).
>
> 2. Select **Installed Extensions**.
>
> 3. Select the Extension, and then select **Upgrade** when a newer version is available.
>
> 4. Review the settings and confirm the upgrade.
>
> > [!WARNING]
> >
> > Upgrade one Extension at a time, and test it in a development tenant first. Change production only when you see no issues.
>
> To learn more, read [Auth0 Extensions](https://auth0.com/docs/customize/extensions/overview.md).

## Verify the change

* Run a test login or the relevant flow in a development tenant and watch [Actions Real-Time Logs](https://auth0.com/docs/customize/actions/actions-real-time-logs.md) or your tenant logs for errors.
* Confirm that every module your code requires is available on the new runtime.
