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

# JS

You can inject a custom JavaScript script into the application by adding the following to your `config.toml`:

```toml config.toml theme={null}
[UI]
# ...
# This can either be a css file in your `public` dir or a URL
custom_js = '/public/my_js_script.js'
```

Once the configuration is updated, restart the application. Your custom script will now be loaded.
