---
url: /en/saas/tapd.md
description: >-
  Guide for configuring CNB and TAPD integration in the SAAS distribution,
  including setup steps for administrators and a user guide for associating code
  commits, branches, and merge requests with TAPD work items.
---
## 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]
   ![Associate Cloud Native Build](/images/tapd/Clipboard_Screenshot_1752824821.png)

2. Project administrators enable the \[Cloud Native Build Source Code] application under "Project Settings → DevOps Configuration"
   ![Enable Cloud Native Build Source Code](/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
  ![TAPD Authorization Configuration](/images/tapd/image-22.png)

* CNB authorization code authorization
  ![CNB Authorization Code](/images/tapd/Clipboard_Screenshot_1752824888.png)

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

### Integration Features

After configuration, TAPD and cloud-native build code can achieve full-link integration:

* **Code submission**: Add the corresponding keywords in the commit message to associate TAPD requirements, defects, and tasks.
  ![Code Submission Association](/images/tapd/image-23.png)

* **Branches**: Quickly create and associate branches within TAPD
  ![Branch Association](/images/tapd/Clipboard_Screenshot_1752824928.png)

* **Merge requests**: After the merge request is completed, TAPD will display merge request information, and Cloud Native Build will display associated TAPD work items
  ![Merge Request Association](/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
   ![Copy Submission Keyword](/images/tapd/image-25.png)

2. Paste the keyword into the Cloud Native Build commit message
   ![Paste Keyword](/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
     ![CNB Related Tab](/images/tapd/image-27.png)
   * The associated TAPD work items can be seen on the Cloud Native Build page
     ![Associated TAPD Work Items](/images/tapd/image-28.png)

### Branches

#### Branch Creation

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

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

#### Branch Association

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

2. All commit and MR information related to this work item under the branch can be viewed, with support for quick navigation
   ![Commit and MR Information](/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
   ![TAPD Initiate Merge Request](/images/tapd/image-34.png)

2. The merge request information will be displayed in all work items associated with this branch, and differences can be viewed
   ![TAPD Display Merge Request](/images/tapd/image-35.png)

#### Initiating from Cloud Native Build

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

2. The merge request details page will display associated work items
   ![Merge Request Details](/images/tapd/image-37.png)
