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

# Deploy the Process

This section covers deploying a BPMN process and starting a new instance to verify the simple process works.

<Note>
  BPMN diagrams must be created for the process engine they're deployed on. You cannot run a BPMN diagram modeled for ASEE Flow (Camunda Platform 7) on Camunda 8, or vice versa.
</Note>

## Using the Camunda Modeler to deploy

Click the deploy button in the Camunda Modeler and provide the deployment name *Payment Retrieval*. You must supply a URL for endpoint configuration — either the root REST API endpoint (for example `http://localhost:8080/engine-rest`) or the exact deployment-creation endpoint (for example `http://localhost:8080/engine-rest/deployment/create`).

<img src="https://mintcdn.com/aseeflow/nrz9o5m15i2WLCpp/get-started/quick-start/img/modeler-deploy1.png?fit=max&auto=format&n=nrz9o5m15i2WLCpp&q=85&s=9ce0f29a18111d9d5ae706280b0fd428" alt="Deploy from the Camunda Modeler" width="374" height="72" data-path="get-started/quick-start/img/modeler-deploy1.png" />

<img src="https://mintcdn.com/aseeflow/nrz9o5m15i2WLCpp/get-started/quick-start/img/modeler-deploy2.png?fit=max&auto=format&n=nrz9o5m15i2WLCpp&q=85&s=22e4cfa60f08eaf451ac94b84774e15a" alt="Configure the deployment endpoint" width="1200" height="673" data-path="get-started/quick-start/img/modeler-deploy2.png" />

A success message should appear:

<img src="https://mintcdn.com/aseeflow/nrz9o5m15i2WLCpp/get-started/quick-start/img/modeler-deploy3.png?fit=max&auto=format&n=nrz9o5m15i2WLCpp&q=85&s=705fecc79177affecd82762cb0abd7e0" alt="Deployment success" width="1200" height="673" data-path="get-started/quick-start/img/modeler-deploy3.png" />

## Verify the deployment with Cockpit

Navigate to `http://localhost:8080/camunda/app/cockpit/` and log in with the credentials `demo` / `demo`. The deployed process appears on the dashboard.

<img src="https://mintcdn.com/aseeflow/nrz9o5m15i2WLCpp/get-started/quick-start/img/cockpit-payment-retrieval.png?fit=max&auto=format&n=nrz9o5m15i2WLCpp&q=85&s=fefaccc9d4ecaa48b301fb70f9f49f0e" alt="The deployed process in Cockpit" width="1400" height="700" data-path="get-started/quick-start/img/cockpit-payment-retrieval.png" />

## Start a process instance

### Option A: using curl

```bash theme={null}
curl -H "Content-Type: application/json" -X POST \
  -d '{"variables": {"amount": {"value":555,"type":"integer"}, "item": {"value":"item-xyz"} } }' \
  http://localhost:8080/engine-rest/process-definition/key/payment-retrieval/start
```

### Option B: using a REST client

Make a POST request to:

```
http://localhost:8080/engine-rest/process-definition/key/payment-retrieval/start
```

with the JSON body:

```json theme={null}
{
  "variables": {
    "amount": { "value": 555, "type": "integer" },
    "item": { "value": "item-xyz" }
  }
}
```

Make sure the header `Content-Type: application/json` is set.

<img src="https://mintcdn.com/aseeflow/nrz9o5m15i2WLCpp/get-started/quick-start/img/postman-start-instance.png?fit=max&auto=format&n=nrz9o5m15i2WLCpp&q=85&s=58caaf45758c31ff45a37e8b394f26e6" alt="Start an instance with a REST client" width="2880" height="1754" data-path="get-started/quick-start/img/postman-start-instance.png" />

On successful execution, output appears in your worker console.

## Next step

To involve humans in your process, continue to [learn about user tasks](/get-started/quick-start/user-task).
