# Configure a script in the Dashboard

Find, activate, and manage billing scripts from the Dashboard.

Use this guide to configure scripts that customize supported billing behaviors. You can use:

- **Stripe-authored scripts**: Select a script on the **Billing customizations** page. The first time you set up a Stripe-authored script, Stripe automatically installs the **Stripe Billing Extensions** app in the background. You don’t need to install it from the Stripe App Marketplace.
- **Your own scripts**: Package your script in a private Stripe app and install it before configuring the script. Follow the [app and script authoring walkthrough](https://docs.stripe.com/extensions/scripts/build-prorations-extension.md) to create, upload, and install your app after review.

In the Dashboard, go to **Settings** > **Billing** > [Billing customizations](https://dashboard.stripe.com/settings/billing/customizations). This page lists each supported billing behavior and the scripts available for it.

## Before you begin

You must have the [Super Administrator, Administrator, or Developer role](https://docs.stripe.com/get-started/account/teams/roles.md) to configure and save scripts or install apps. Owners can also install apps.

> You’re responsible for ensuring your configuration is correct. Stripe doesn’t take responsibility for any issues that arise as a result of your configuration.
> 
> If your script raises an error (for example, returns an invalid result, throws an exception, or times out), Stripe defaults to standard functionality for the operation that caused the failure.

[Set up real-time failure notifications](https://docs.stripe.com/extensions/scripts/monitor-and-debug.md#receive-failures-in-real-time) to understand when and why Billing scripts fail.

## Select and activate

On the Billing customizations page, select **Customize** for the billing behavior you want to change.

A dialog opens where you can select a script and set its configuration options.

1. Click “Change” and select a script.
2. Select the version you want to use. New accounts default to the latest version. If a newer version is available, it appears in the version dropdown.
3. Set the configuration options.
4. Select **Save** and confirm that you want to activate the script.

The script activates immediately across your account.

For Stripe-authored scripts, see the individual script pages under [Stripe-authored scripts](https://docs.stripe.com/billing/scripts/stripe-authored.md) for script-specific configuration details. For scripts you’ve written yourself, the configuration depends on the parameters defined in your script.

## Revert to default behavior

1. Go to [Settings > Billing > Billing customizations](https://dashboard.stripe.com/settings/billing/customizations).
2. Select **Customize** for the billing behavior you want to revert.
3. Select the option labeled **Default**.
4. Select **Save** and confirm that you want to revert to default behavior.

The default behavior takes effect immediately.

## Monitor script execution

After activating a script, you can monitor its execution on individual billing objects or across all runs in Workbench.

### Billing object detail pages

You can monitor script execution on individual billing objects, such as subscriptions and invoices, in the Dashboard.

1. Navigate to the details page for any subscription or invoice.
2. Scroll down to the **Activity** section.
3. Click the **Extension runs** tab to see the most recent script runs for that object.
4. To see the full history in Workbench, click **Inspect more extension runs in Workbench**. If the object has no extension runs, click **View all extension runs in Workbench** instead.

### Workbench

You can go directly to Workbench for a full view of all script execution across your account.

1. Open [Extension runs](https://dashboard.stripe.com/workbench/logs/extension-runs) in Workbench.
2. You can see every script execution, including which script ran, which billing object it ran on, whether it succeeded or failed, and the inputs and outputs.
3. Use filters to narrow results by status, error type, or related billing object.

## See also

- [Customize billing with scripts](https://docs.stripe.com/billing/scripts.md)
- [Stripe-authored scripts](https://docs.stripe.com/billing/scripts/stripe-authored.md)
- [Author your own scripts](https://docs.stripe.com/billing/scripts/author-your-own.md)
