> For the complete documentation index, see [llms.txt](https://docs.justransform.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.justransform.com/development/scripts/creating-a-script.md).

# Creating a Script

To create a new Script within Justransform, click "**+**" within the Scripts Module.&#x20;

1. Using the Script Editor, start creating your script. You can insert Scripts or choose from Utilities using the top navigation.&#x20;

<figure><img src="/files/423aqR23GyiQMXPme1zq" alt=""><figcaption></figcaption></figure>

2. Set Import Statements using the **Import Statements** toggle.

<figure><img src="/files/u7VY7iyBm6uf4cI83fEG" alt=""><figcaption></figcaption></figure>

3. Once completing your script, run the JT Script Parser Output test using the **Test** icon.

<figure><img src="/files/1bZcYDiAiRhQWi14Henl" alt=""><figcaption></figcaption></figure>

4. Once completing your JT Script parser output test. Test run the output using the **Test** icon.

<figure><img src="/files/iza7JnUlXSlMKs4j0Liy" alt=""><figcaption></figcaption></figure>

2. When testing the script has been completed, click the "**Save**" button

<figure><img src="/files/ujty0r17ms0juR3wExpO" alt=""><figcaption></figcaption></figure>

3. Select a location to save the Script within your Resources.
4. Specify the Script name in the TextField.

{% hint style="info" %}
Example: JTConvertGen
{% endhint %}

5. Click the "**Save**" button.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.justransform.com/development/scripts/creating-a-script.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
