# Snowbridge JavaScript transformation configuration
> Configure Snowbridge JavaScript transformations using the goja embedded JavaScript engine with script paths and timeout settings.
> Source: https://docs.snowplow.io/docs/api-reference/snowbridge/configuration/transformations/custom-scripts/javascript-configuration/
> Documentation index: https://docs.snowplow.io/llms.txt

This section details how to configure the transformation, once a script is written.

You can also find some complete example use cases in [the examples section](/docs/api-reference/snowbridge/configuration/transformations/custom-scripts/examples/).

The custom JavaScript script transformation uses the [goja](https://pkg.go.dev/github.com/dop251/goja) embedded Javascript engine to run scripts upon the data.

If a script errors or times out, a [transformation failure](/docs/api-reference/snowbridge/concepts/failure-model/#transformation-failure) occurs.

Scripts must be available to the runtime of the application at the path provided in the `script_path` configuration option. For docker, this means mounting the script to the container and providing that path.

## Configuration options

Minimal configuration:

```hcl
loading...
```

[View on GitHub](<&#xA;https://github.com/snowplow/snowbridge/blob/v6.3.0/assets/docs/configuration/transformations/custom-scripts/js-configuration-minimal-example.hcl&#xA;>)

Every configuration option:

```hcl
loading...
```

[View on GitHub](<&#xA;https://github.com/snowplow/snowbridge/blob/v6.3.0/assets/docs/configuration/transformations/custom-scripts/js-configuration-full-example.hcl&#xA;>)
