> For the complete documentation index, see [llms.txt](https://docs.oneweb.tech/oneweb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oneweb.tech/oneweb/design-and-develop-oneweb-apps/design-and-develop-low-code-apps-using-appspace/pipeline/deploy-application-in-oneweb.md).

# Deploy Application in ONEWEB

ONEWEB provides built-in Pipeline to deploy the complete application or even parts of an application to another server runtime. For e.g. user can choose to deploy only microflow or user can deploy only page to the UAT or SIT environment using pipeline.&#x20;

ONEWEB Pipeline provides different types of service provider for deploying different component type.&#x20;

* Deploy Microflow.
* Deploy Pages.
* Deploy Business Process.
* Deploy Smart Forms.
* Run Database script.
* Deploy jars/war to application server.
* Add datasources on application server.

To deploy an application created on ONEWEB to another environment, the basic steps are as shown below.

**Step 1.** Design the pipeline for your application deployment. To design the pipeline, go to the Deployment and Distribution menu in AppSpace.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FzYh1oYF1OeXsx8Qa1Sl2%2Fimage.png?alt=media\&token=a0e2b2fa-c819-4f1b-8957-c21a6e8f7128)

**Step 2.** Choose Pipeline Type as 'Deploy Application'. Enter details including environment configuration and secrets.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FSflGxCHlD1mtLmHc3oEy%2Fimage.png?alt=media\&token=066cd04d-fafd-407b-a3b2-bf0dfe189c94)

**Step 3.** Create the stages for deploying the various components that are part of your application. The user has to add one stage each for deploying each component type to the target runtime. For e.g., one stage for deploying microflow snapshot and another for deploying pages from the snapshot. Users need to input both the environment properties as well as the runtime host server path. The runtime host path is mandatory and needs to be correct.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FvT1V6U7pClh39oFoXXQd%2Fimage.png?alt=media\&token=5e7880be-248b-4063-b70e-a6691e1990a3)

**Step 4.** Complete all stages for the pipeline.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FKFSVFpP65LXd7i2FMUfu%2Fimage.png?alt=media\&token=3f2e1b3b-99ad-424a-b099-8815fb99b093)

**Step 5.** Once you design the pipeline, you can go ahead and execute it every time you need to deploy your app to the target server. For this use Execute pipeline option.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FuuOgjNJHkQjy3bWzaQ9A%2Fimage.png?alt=media\&token=6fd8fae3-e150-46e4-9d09-756eb1057940)

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FcnbHnERGqek21aFyP7hM%2Fimage.png?alt=media\&token=7184e79a-7af5-4782-aab8-1eaf4af1d6a4)

**Step 6.** The Final step is to verify the deploying of the modules. Go to the Deployment History menu. Click on the ... icon. Users can check the real-time logs in the view menu.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FNzSGTu6JcqkUZYyoBZK5%2Fimage.png?alt=media\&token=ae0997a6-0ef2-4bb1-9c89-6820b74c0ee1)

**Step 7.** Once complete the pipeline the status is shown as below.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FPOhID4njPeX7xxhwtvXn%2Fimage.png?alt=media\&token=3a4c0437-ff9f-4e94-8ed0-091e6dc3cfc2)

Deployment Center will deploy the components in the snapshot version to the selected pipeline runtime environment. Users can monitor the progress on the screen. If any error occurs, the user can see the error details from the log output.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F8Lx8xSDmazREMZiMbHcS%2Fimage.png?alt=media\&token=0229aae6-e22e-434d-aab5-998c831097ba)

Users can add several additional stages to the pipeline to execute different scenarios. To run the database script as part of the pipeline stage, the list of properties is different. Currently, this stage supports only Postgres driver as shown in the default value.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FTPYBYEMPxrw8VL40L06P%2Fimage.png?alt=media\&token=ad1b068e-072c-4e21-8d1a-aa44148086b6)

The stage properties for deploying jar or war files to the JBoss server are as shown below.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FDk7g3jnM9viOYXipB2OA%2Fimage.png?alt=media\&token=7cf5d741-f381-4705-af6f-e90dd1cc695b)

The stage properties for adding a data source to the JBoss server are as follows.

![](https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FusPMt3xtyoFVAFK0Xdtg%2Fimage.png?alt=media\&token=ef73f7b1-1e41-4ad8-b83f-078be063b682)

User can also pass data from one stage to next using syntax {{sid.variable\_name}}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.oneweb.tech/oneweb/design-and-develop-oneweb-apps/design-and-develop-low-code-apps-using-appspace/pipeline/deploy-application-in-oneweb.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
