# 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://1658765766-files.gitbook.io/~/files/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://1658765766-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHAzdlUVqKyZvwTnNIE%2F-MQHFtrZ5_Ud4mTQOoO_%2F-MQHGHJycsi5i1PdFqGd%2FScreenshot%202021-01-05%20at%2012.18.21.png?alt=media\&token=5d41e0bf-d265-402c-98c5-17eb07682577)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://purchasely.gitbook.io/purchasely/3.4/stores-configuration/huawei-app-gallery.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
