# Integration Skill

> Learn about the Alipay+ AI-powered Integration Skill component, which enables developers to generate payment integration code using natural language instructions.

Alipay+ encapsulates the core capabilities of payment integration into a Skill component, making payment integration documentation fully comprehensible by AI. Instead of dealing with the complex underlying payment logic, developers can efficiently complete the integration by using AI programming tools. They simply describe the requirements in natural language, and the AI tools generate the corresponding integration code.

> Note:
>
> -   When describing requirements to AI, clarify your role (**MPP**) and payment scenarios (such as User-presented Mode Payment, Merchant-presented Mode Payment, Online Cashier Payment, and Online Auto Debit) to avoid ambiguity.
> -   The AI-generated code is for reference only. Review the code logic before deploying to production.
> -   The Skill is updated alongside Alipay+ product releases. We recommend periodically downloading the latest version.

## Applicable scenario

This component is suitable for developers to integrate Alipay+ payment capabilities in Vibe Coding mode:

-   **Mobile Payment Providers (MPP)**: Integrate Alipay+ payment issuance capabilities for wallet users

## Before you begin

Before you begin, complete the following steps:

1.  **Get an Alipay+ account**: Complete the registration and sign up in [Alipay+ Developer Center](https://connect.alipayplus.com). For details, see [Account setup and login](https://docs.alipayplus.com/alipayplus/alipayplus/worksp_mpp/overview_account.md).
2.  **Prepare developer tools**: Support common AI programming tools (such as Cursor or Claude).
3.  **Obtain the key configuration**: In [Alipay+ Developer Center](https://connect.alipayplus.com), go to **Developer** and obtain the Client ID, Alipay+ public key, and merchant private key. For more information, see [Sign a request and validate the signature](https://docs.alipayplus.com/alipayplus/alipayplus/api_mpp/signature.md).

## Steps

Follow these steps to get started:

1.  Download the Skill
2.  Describe requirements
3.  Obtain sandbox configuration information

### Step 1: Download the Skill

#### Tab: Install with natural language in AI Agent

```plaintext
Install the skill "skill-alipayplus-integration" (ant-intl/skill-alipayplus-ai-integration) from ClawHub.
Skill page: https://clawhub.ai/ant-intl/skill-alipayplus-ai-integration
Keep the work scoped to this skill only.
```

#### Tab: Download via npx

```plaintext
npx clawhub@latest install skill-alipayplus-ai-integration
```

> **Note**:
>
> -   The Skill follows the open `SKILL.md` standard and is seamlessly compatible with popular AI programming tools, such as Claude and Cursor.
> -   Copy the downloaded Skill folder to your project path, for example, `/.claude/skills/`.

### Step 2: Describe requirements

Describe your payment requirements using natural language, and AI will automatically generate code based on the description. See the following examples:

| **Role** | **Payment scenario** | **Example** |
| --- | --- | --- |
| MPP | User-presented Mode Payment | "I'm an MPP (digital wallet), help me implement Alipay+ User-presented Mode Payment." |
| MPP | Merchant-presented Mode Payment | "I'm an MPP, help me implement Merchant-presented Mode Payment with code identification." |

### Step 3: Obtain sandbox configuration information

The steps are as follows:

1.  Log in to [Alipay+ Developer Center](https://connect.alipayplus.com).
2.  Go to **Developer** > **Sandbox** to get the sandbox configuration information.
3.  Provide the sandbox configuration to AI tools for testing purpose.

> **Note**:
>
> -   Before going live, it is recommended to complete the following:
> -   Test the payment flow in the Alipay+ sandbox environment, where you can safely complete full-link verification without using real funds.
> -   Replace the sandbox configuration with your live credentials for the production environment.