---
url: /en/saas/tapd.md
---
## CNB & TAPD

TAPD projects can be associated with cloud-native build code repositories.

Please follow the guidelines below to complete the configuration:

### Configuration Steps

1. Company administrators go to the "Company Management - Service Integration" page to associate \[Cloud Native Build].
   ![alt text](/images/tapd/Clipboard_Screenshot_1752824821.png)

2. Project administrators, enable the \[Cloud Native Build Source Code] application under the DevOps configuration in project settings.
   ![alt text](/images/tapd/Clipboard_Screenshot_1752824858.png)

* Authorize in the TAPD \[Service Integration - Cloud Native Build] source code application configuration, supporting mobile phone number authorization and CNB authorization code authorization
  ![alt text](/images/tapd/image-22.png)

* CNB authorization code authorization
  ![alt text](/images/tapd/Clipboard_Screenshot_1752824888.png)

* In the TAPD \[Service Integration - Cloud Native Build] source code application configuration, click \[Associate] repository, and the associated repository requires administrator permissions
  ![alt text](/images/tapd/Clipboard_Screenshot_1752824900.png)

### Integration Features

After configuration, full-link integration between TAPD and cloud-native build code can be achieved:

* **Code submission**: Add the corresponding keywords when submitting cloud-native build code to associate TAPD requirements, defects, and tasks.
  ![alt text](/images/tapd/image-23.png)

* **Branches**: Enable quick branch creation and association within TAPD
  ![alt text](/images/tapd/Clipboard_Screenshot_1752824928.png)

* **Merge requests**: After the merge request is completed, cloud-native build merge request information can be displayed in TAPD, and associated TAPD work project information can be displayed in cloud-native build
  ![alt text](/images/tapd/image-24.png)

## User Guide

### Code Submission

1. On the top right corner of the viewing page of requirements/defects/tasks, copy the source code submission keyword
   ![alt text](/images/tapd/image-25.png)

2. Paste the source code submission keyword into Cloud Native Build
   ![alt text](/images/tapd/image-26.png)

3. After successful association:
   * The associated source code submission information can be seen in the "CNB Related" tab of TAPD requirements
     ![alt text](/images/tapd/image-27.png)
   * The associated TAPD item can be seen on the \[Cloud Native Build] page
     ![alt text](/images/tapd/image-28.png)
     If there is no "TAPD" tab, please go to CNB organization settings to configure it.
     ![alt text](/images/tapd/image-29.png)

### Branches

#### Branch Creation

1. Quickly create branches in the "CNB Related" tab of requirements/defects/tasks
   ![alt text](/images/tapd/image-30.png)

2. Click the branch to quickly jump to Cloud Native Build to view and operate the branch
   ![alt text](/images/tapd/image-31.png)

#### Branch Association

1. Quickly associate existing branches under the repository in the "CNB Related" tab of requirements/defects/tasks
   ![alt text](/images/tapd/image-32.png)

2. All commit and MR information related to this work item under the branch can be obtained, displayed, and supported for quick jump
   ![alt text](/images/tapd/image-33.png)

### Merge Requests

1. After the merge request is completed, the merge request information will be displayed in the "CNB Related" tab of requirements/defects/tasks

#### Initiating from TAPD

1. Initiate a branch merge request in TAPD
   ![alt text](/images/tapd/image-34.png)

2. In TAPD, the information of this branch merge request will be displayed in all work items associated with this branch, and differences can be viewed
   ![alt text](/images/tapd/image-35.png)

#### Initiating from Cloud Native Build

1. Initiate a branch merge request in Cloud Native Build
   ![alt text](/images/tapd/image-36.png)

2. In Cloud Native Build, according to the work items associated with the branch, the associated work items will be displayed in the merge request details
   ![alt text](/images/tapd/image-37.png)
