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

# Add Script

> Guide to creating and managing Scripts in FarmSync

## Introduction

This page guides you through creating a new Script in FarmSync's Automation system. You'll learn how to access the management page, create a script, name it, add content, and save it.

<Info>
  You can directly access the Scripts Manager page at `https://app.farmsync.cloud/dashboard/automation/scripts/`.
</Info>

## Create a New Script

<Steps>
  <Step title="Access the Scripts page">
    You have 2 options:

    1. Open the URL: `https://app.farmsync.cloud/dashboard/automation/scripts/`
    2. Or go to Automation > Scripts as shown in the image below.

    <Frame>
      <img src="https://mintcdn.com/farmsync-bb893348/04MM8D0921TGN18C/images/automation/scripts/automation-section.png?fit=max&auto=format&n=04MM8D0921TGN18C&q=85&s=b3ef4f9ebd7c5ee839c6c1131e289667" alt="Navigate to Automation Scripts in dashboard" width="283" height="125" data-path="images/automation/scripts/automation-section.png" />
    </Frame>
  </Step>

  <Step title="Scripts Manager page">
    After accessing, you'll see the Scripts Manager page.

    <Frame>
      <img src="https://mintcdn.com/farmsync-bb893348/04MM8D0921TGN18C/images/automation/scripts/script-manager.png?fit=max&auto=format&n=04MM8D0921TGN18C&q=85&s=9f605ee05fa76921936c852a66b252b4" alt="Scripts Manager interface" width="1578" height="692" data-path="images/automation/scripts/script-manager.png" />
    </Frame>

    If you're a new user, the list will be empty (no scripts yet).
  </Step>

  <Step title="Create a new Script">
    Click the **New Script** button to start creating.

    <Frame>
      <img src="https://mintcdn.com/farmsync-bb893348/04MM8D0921TGN18C/images/automation/scripts/new-script-button.png?fit=max&auto=format&n=04MM8D0921TGN18C&q=85&s=dba78e7a9b89a381499f9842e0d12269" alt="New Script button" width="146" height="54" data-path="images/automation/scripts/new-script-button.png" />
    </Frame>

    Enter your desired script name (for example: `tutorial`) then click **Create**.

    <Frame>
      <img src="https://mintcdn.com/farmsync-bb893348/04MM8D0921TGN18C/images/automation/scripts/input-script-name.png?fit=max&auto=format&n=04MM8D0921TGN18C&q=85&s=3f725c698d090cb532115f417190b05b" alt="Name the script and click Create" width="891" height="240" data-path="images/automation/scripts/input-script-name.png" />
    </Frame>
  </Step>

  <Step title="Add content and save">
    After creation, the interface will display:

    * Left side: list of your scripts (newly created will appear here)
    * Right side: script content editing area

    <Frame>
      <img src="https://mintcdn.com/farmsync-bb893348/04MM8D0921TGN18C/images/automation/scripts/created-script.png?fit=max&auto=format&n=04MM8D0921TGN18C&q=85&s=434117b35537b940253649793daa94fd" alt="Newly created script displayed in the list" width="1536" height="682" data-path="images/automation/scripts/created-script.png" />
    </Frame>

    Enter your script content in the editor.

    <Frame>
      <img src="https://mintcdn.com/farmsync-bb893348/04MM8D0921TGN18C/images/automation/scripts/add-script.png?fit=max&auto=format&n=04MM8D0921TGN18C&q=85&s=d2845b6bc3d1e46b0925885256f2cc51" alt="Add script content and save" width="995" height="650" data-path="images/automation/scripts/add-script.png" />
    </Frame>

    Click **Save** to save (or enable **Auto-save** for automatic saving).

    <Check>
      You have successfully completed creating a Script.
    </Check>
  </Step>
</Steps>

<Tip>
  Name your scripts concisely, memorably, and meaningfully for convenient future management.
</Tip>
