> ## 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.

## 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`).

![Deploy from the Camunda Modeler](https://mintcdn.com/aseeflow/nrz9o5m15i2WLCpp/get-started/quick-start/img/modeler-deploy1.png?fit=max\&auto=format\&n=nrz9o5m15i2WLCpp\&q=85\&s=9ce0f29a18111d9d5ae706280b0fd428)

![Configure the deployment endpoint](https://mintcdn.com/aseeflow/nrz9o5m15i2WLCpp/get-started/quick-start/img/modeler-deploy2.png?fit=max\&auto=format\&n=nrz9o5m15i2WLCpp\&q=85\&s=22e4cfa60f08eaf451ac94b84774e15a)

A success message should appear:

![Deployment success](https://mintcdn.com/aseeflow/nrz9o5m15i2WLCpp/get-started/quick-start/img/modeler-deploy3.png?fit=max\&auto=format\&n=nrz9o5m15i2WLCpp\&q=85\&s=705fecc79177affecd82762cb0abd7e0)

## Verify the deployment with Cockpit

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

![The deployed process in Cockpit](https://mintcdn.com/aseeflow/nrz9o5m15i2WLCpp/get-started/quick-start/img/cockpit-payment-retrieval.png?fit=max\&auto=format\&n=nrz9o5m15i2WLCpp\&q=85\&s=fefaccc9d4ecaa48b301fb70f9f49f0e)

## 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.

![Start an instance with a REST client](https://mintcdn.com/aseeflow/nrz9o5m15i2WLCpp/get-started/quick-start/img/postman-start-instance.png?fit=max\&auto=format\&n=nrz9o5m15i2WLCpp\&q=85\&s=58caaf45758c31ff45a37e8b394f26e6)

On successful execution, output appears in your worker console.

## Next step

To involve humans in your process, continue to [learn about user tasks](https://docs.aseeflow.org/1.x/get-started/quick-start/user-task.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.