# Add CI Server

ONEWEB allows users to add a **CI Server key** either as a **Global CI Server** (shared across applications) or as a **Local CI Server** (restricted to a single application).

This section explains how to:

* Add a CI Server as a **Global CI Server**
* Attach the CI Server to an application for mobile builds

***

### Add Server as a Global CI Server

A **Global CI Server** can be used by all applications on the same ONEWEB server and is commonly used in **on‑premise environments**.

***

#### Step 1: Open Control Panel

Open the **Control Panel** from the **Page Designer (PGD) Home Page**.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FHYl443OEWrbStTzDHhJW%2F0?alt=media" alt=""><figcaption></figcaption></figure>

***

#### Step 2: Add New CI Server

Click the **Add Server** icon to register a new CI Server.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2Fwd4kmIEuQqMb4QNGzYfn%2F1?alt=media" alt=""><figcaption></figcaption></figure>

***

#### Step 3: Upload CI Server Key

Upload the **CI Server key** received from the ONEWEB (Avalant) Team.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FS2aonQpm1mkxoVmWDkH1%2F2?alt=media" alt=""><figcaption></figcaption></figure>

***

#### Step 4: Enter Server Name

Provide a recognizable **Server Name** to identify the CI Server.

***

#### Step 5: Save Server Configuration

Click the **Save** button to register the CI Server.

***

#### Step 6: Verify Server Registration

The newly added CI Server appears in the **CI Server list**.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FRsuInrq6FXqL05QS7Zqj%2F3?alt=media" alt=""><figcaption></figcaption></figure>

***

#### Step 7: Return to Page Designer Home

Click **Close** to return to the Page Designer home page.

***

### Attach CI Server to an Application

After adding the CI Server, it must be attached to an application before use.

***

#### Step 8: Open Application Settings

From **Page Designer Home**, go to the **Settings** tab.

***

#### Step 9: Select Services

Choose the **Services** option.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FzGSrmb7kVy94qNvXr04C%2F4?alt=media" alt=""><figcaption></figcaption></figure>

***

#### Step 10: Select CI Server

Choose the CI Server from the list of **Global Servers**.

{% hint style="info" %}
**Note**:\
You can also add a CI Server **locally (per application)** by clicking the **+ Add Server** icon at the bottom of the server selection list.
{% endhint %}

***

#### Step 11: Verify Service Assignment

The selected CI Server is now attached to the application.

***

#### Step 12: Check CI Server Status

Click the **Check Service** button to verify the server connection and status.

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2Fxo47GyEZIbBtGI8g1W1C%2F5?alt=media" alt=""><figcaption></figcaption></figure>

***

#### Step 13: Save Application Settings

Click **Save** to persist the configuration.

The CI Server is now ready for use in mobile application builds.

***

### Summary

Adding a CI Server in ONEWEB enables cloud‑based mobile application builds.

Key benefits include:

* Centralized CI configuration via Global CI Server
* Flexible per‑application CI setup via Local CI Server
* No local build environment required
* Seamless integration with Android and iOS build workflows

Once configured, the CI Server can be used to build **unsigned APKs**, **signed Android APKs**, and **iOS IPA files**.


---

# Agent Instructions: 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:

```
GET https://docs.onewebstack.com/oneweb-platform-th/building-apps/ui-page-designer/mobile-ux-ui/build-mobile-app/add-ci-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
