Integration preparation
This page is about how to make a merchant registration and how to complete merchant set-up. The following graphic shows the steps of a complete system development process.

Figure 1. System development process
#Register an account
Skip this step if you already have an account.
If you do not have an account, contact Alipay technical support to get information about registering an account. Besides, you must sign a contract with Alipay to become an Alipay business partner.
#Log in
Log in to Alipay Developer Center with the account you created in previous step. Read and agree to Alipay Developers Terms of Use, and specify your integration mode.

Figure 2. Welcome page
Now, you have completed the onboarding process and become an Alipay developer successfully. Click Get Started to continue.

Figure 3. Quick start guide
#Create application
- Click Create Application and provide the required information to create an application.

Figure 4. Create the application
- Select the product and scenarios to integrate with and specify the currency. For one product, more than one scenario can be selected. However, if you want to integrate with more than one product, you must create more applications accordingly. In this case, select Auto Debit Payment for Products and scenarios.
#View development information
After creating the application, you can view your development information used in production environment and sandbox environment, such as Gateway Endpoint (Domain name) and Client ID.

Figure 5. Check the basic information
#Configure integration settings
You can set public key and configure the endpoints that are used for receiving notifications.
#Set keys
Asymmetric keys are used to secure your integration. You must upload your public key with Alipay Developers Center to exchange the Alipay public key.
- In Integration Settings, click Set public key.

Figure 6. Integration settings page
- Follow the wizard to download the tool and generate key pairs, then submit the public key of the key pair. You can also manually generate the RSA2 key pair,see Preparing keys for details.

Figure 7. Set the public key
- After you submit your public key, under Alipay Public Key, you can view Alipay public key.

Figure 8. View Alipay public key
In Testing Resources, the configuration of public keys for sandbox environment is similar.
Note:
When your public key is updated, remember to update the keys in your local code.
#Set notification endpoint
Under Gateway URL, you can configure the endpoint that is used to receive notifications.

Figure 9. Configure endpoint