# Huawei App Gallery

## Connecting the Purchasely Cloud Platform with the AppGallery

### Getting the endpoint URL from the Purchasely Console

1. Connect to the Purchasely Console
2. Access the settings of the application you want to connect
3. Get the value of the parameter `Huawei S 2 S Notifications Endpoint`\
   \&#xNAN;*Purchasely > Mobile Applications > \[YOUR APPLICATION] > Application settings*

![](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGgUdOzhqa07uh7nB2iZA%2Fuploads%2F39QrdNaSSOjwl1apIuyp%2Fimage.png?alt=media\&token=efd52290-6352-45c3-b1be-6c880a24f58c)

### Setting the endpoint URL in the AppGallery

1. Open your [AppGallery Console](https://developer.huawei.com/consumer/en/console#/serviceCards/)
2. Go to: [*AppGallery Connect*](https://developer.huawei.com/consumer/en/service/josp/agc/index.html) *>* [*My Apps*](https://developer.huawei.com/consumer/en/service/josp/agc/index.html#/myApp) *> \[YOUR APPLICATION]*
3. In the "All services" menu on top, search for "In-App Purchases" and click on it
4. Fill in the "Subscription notification URL" with the "endpoint URL" previously copied from the Purchasely Console

![](https://github.com/Purchasely/gitbook_v4/blob/main/.gitbook/assets/Screenshot%202021-01-05%20at%2012.18.21.png)
