> For the complete documentation index, see [llms.txt](https://native-app-co.gitbook.io/stork-credit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://native-app-co.gitbook.io/stork-credit/getting-started/quickstart.md).

# Quickstart

Create your first automation and see credit land on a real customer account.

This gets you from a fresh install to a working cashback rule. Everything here can be refined later.

{% hint style="success" %}
**Estimated time: 3 minutes.** You need the app installed and one test order you can mark as paid.
{% endhint %}

## Create a cashback rule

{% stepper %}
{% step %}

#### Start a new automation

From the app home page, click **Add automation**, then choose **Order value** — a rule that runs whenever an order is paid.

You can also click **Browse all templates** and start from a ready-made rule such as *5% cashback* or *Spend $100, get $10*. Templates fill in the form for you and can be edited before saving.
{% endstep %}

{% step %}

#### Name it

Give the rule a title your team will recognise later, for example `2% cashback on all orders`. The title appears in the automations list and in run history.
{% endstep %}

{% step %}

#### Set the reward

In the **Reward** card:

* **Credit type** — `Percentage`
* **Percentage** — `2`
* **Calculation base** — leave it on `Amount before discounts`, or pick `Amount after discounts` to reward only what the customer actually paid
* **Applies to** — `All products`
  {% endstep %}

{% step %}

#### Choose who qualifies

In the **Eligibility** card, leave **All customers** selected.

Leave the minimum and maximum purchase amounts empty so every order qualifies.
{% endstep %}

{% step %}

#### Save and activate

Click **Save**. The rule is created **inactive**.

Open the automations list and switch its status to **Active**. Only active rules run.
{% endstep %}
{% endstepper %}

## Test it

1. Place an order on your store **with a customer account attached** — not a guest checkout.
2. Mark the order as **paid**.
3. In Stork Credit, open the automation and click the **Runs** tab.
4. A run appears within seconds, showing the credit issued and whether the criteria were met.
5. Open the customer in the Shopify admin. Their store credit balance reflects the reward.

{% hint style="warning" %}
No run appeared? The three usual causes are the rule still being **inactive**, the order having **no customer** attached, or the order **not being paid yet**. The [FAQ](/stork-credit/reference/faq.md) covers the rest.
{% endhint %}

## Where to go next

* Every field on the rule form, explained — [Order-value automations](/stork-credit/automations/order-value-automations.md)
* Show customers what they'll earn before they buy — [Cart & checkout widgets](/stork-credit/integrations/storefront-and-checkout.md)
* Bring existing balances over from another app — [CSV import](/stork-credit/bulk-import/csv-import.md)
* Reward on any store event — [Shopify Flow](/stork-credit/integrations/shopify-flow.md)
