# Sharing Scripts

You can easily share your script with others using **Gromet Vault**, our built-in sharing feature.

### How It Works

When you choose to share a script:

* A secure **script** **access key** is generated.
* You can select any or all from the script's Python code, configuration (YAML),  Execution settings, and Runtime variables to be stored temporarily in Gromet Vault.
* This will generate a secure **script access key**.
* You can copy and send the secure key to anyone in your organisation with ease.

### Key Details

* ⏳ **Expiration**: Shared scripts automatically expire after **7 days**.
* 🛠️ **Editable Locally**: Others can load your shared script and run or modify it on their device. Any edits they make will not affect your local instance of the script. If you wish to merge changes, share the updated script and select the ''Merge with existing version of script' checkbox.
* 🔐 **Privacy First**: Shared scripts are sandboxed. No personal data or outputs are shared, only the scripts and any configuration settings you select.

### How to Share

1. Open the script you'd like to share.
2. Go to the Script Settings tab 🔧.
3. Scroll down to the Share Script section.
4. Select the required checkboxes and click share - a vault access key will be generated.&#x20;
5. You can either share the key via email or copy it and send it to the recipient via your preferred method.

### How to Open a Shared Script

1. Click the + menu icon in the top right of the Gromet Desktop App.
2. Select **Gromet Vault** from the dropdown.
3. Paste in your vault access key.
4. Select whether you want to merge with an existing version of the script (if it already exists in your local archive) or generate a new script by selecting/deselecting the checkbox.
5. Click **Fetch** - this will fetch the shared script from **Gromet Vault** and save it to your local environment.
6. Any changes you make to this script are personal and won't affect any other instances of the script on other users' devices. To share any update, share your edited version of the script.

> ✅ Perfect for sharing automations, collaborating, or letting someone run your script without setup.


---

# 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://gromet.gitbook.io/docs/additional-features/sharing-scripts.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.
