# Creating a Script

## Steps to create a Script

### Step 1: Navigate to Scripts Page

![](https://272493989-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LyGZIunpED9t56ZtLzh%2F-LyJHnjh9wXKta5yp0KQ%2F-LyJIRC0ReRoaYHCffog%2FScreen%20Shot%202020-01-11%20at%203.11.17%20AM.png?alt=media\&token=fd79576a-13f4-4ada-ad0a-bccdda33549f)

### Step 2: Click on "Setup New Script" button

![Setup Script Page](https://272493989-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LyGZIunpED9t56ZtLzh%2F-LyKHxXJMXi1wKBpKU9s%2F-LyKIRoKAYeGzWgQprq7%2FScreen%20Shot%202020-01-11%20at%207.42.29%20AM.png?alt=media\&token=8eea01eb-18a5-4d58-9ece-89b5607da390)

1. Script Name
2. Script Status
3. Schedule Type
4. Script written in Java and/or Groovy
5. View Script Run History


---

# Agent Instructions: 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:

```
GET https://flow-docs.cloudio.io/tutorials/creating-a-script.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
