# Quickstart

> Publish your first script and run it, in about five minutes.

By the end of this page, you’ll have published a script that greets someone by name. You’ll also have run it from the CLI and the app.

Want to see Reminix work first? If the **Scripts** page is empty, an owner or admin can click **Add example scripts**. Reminix adds four small scripts, published and ready to run from the app. **Remove examples** takes them away again.

## 1. Create a workspace

[Sign up](https://app.reminix.com/sign-up), verify your email and create a workspace. Scripts, secrets and runs all belong to a workspace.

## 2. Install the CLI and sign in

```bash
npm install -g @reminix/cli
reminix login
```

Your browser opens. Choose your workspace, keep the access at **Publish and run scripts**, and click **Allow**.

## 3. Write the script

Any command you can run works. Here it’s a few lines of Python, saved as `hello.py` in a new folder called `hello`:

hello/hello.py

```python
import json, sys

name = sys.argv[1]
print(f"greeting {name}", file=sys.stderr)
print(json.dumps({"message": f"Hello, {name}!"}))
```

What the script prints to standard output is its result, and what it prints to standard error is its log.

## 4. Publish it

In the `hello` folder, publish the script. Put `{name}` in the command where the input goes:

```bash
cd hello && reminix publish --command "python hello.py {name}"
```

Reminix packs the folder, turns `{name}` into an input and creates a script called Hello, after the folder. It then publishes version 1, which is the version runs use. To upload a draft that nobody else can run yet, use `reminix upload` instead.

A script without inputs needs only `reminix publish`. Reminix works out how to run the folder from its one script file, its `pyproject.toml` or its `package.json`. [Publishing a folder](/docs/scripts/#publishing-a-folder) explains how.

To give the input a label, or the script a description or tags, add a [`reminix.json`](/docs/reminix-json/) to the folder.

## 5. Run it

From the CLI:

```bash
reminix run hello -f name=Ada --log
```

```json
{ "message": "Hello, Ada!" }
```

In the app, open **Scripts → Hello**. Its input is a form with a **Run** button, and the run you just made is in its history.

You can run it in these ways too:

* With the [TypeScript SDK](/docs/typescript/): `reminix.run("hello", { name: "Ada" })`
* With the [Python SDK](/docs/python/): `reminix.run("hello", {"name": "Ada"})`
* From an AI agent connected over [MCP](/docs/mcp/): the agent sees a tool called `hello`.

Next, read [Scripts](/docs/scripts/) to call APIs with your secrets. For a real script from start to finish, follow [Let your agents run scripts, with approval](/docs/guides/refund-a-customer/): a refund that an agent asks for and a person approves.
