> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appreply.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Huawei AppGallery

> Connect your Huawei AppGallery apps to manage and reply to reviews

AppReply connects to Huawei AppGallery through the AppGallery Connect API using OAuth2 client credentials. Once connected, you can read and reply to reviews directly from your dashboard.

## Prerequisites

Before you begin, make sure you have:

* A [Huawei Developer account](https://developer.huawei.com)
* Access to [AppGallery Connect](https://developer.huawei.com/consumer/en/service/josp/agc/index.html)
* Your app published on Huawei AppGallery

## Step-by-step integration

<Steps>
  <Step title="Open AppGallery Connect">
    Go to [AppGallery Connect](https://developer.huawei.com/consumer/en/service/josp/agc/index.html) and sign in with your Huawei Developer account.
  </Step>

  <Step title="Navigate to Connect API">
    In the top navigation, go to **Users and permissions > API key > Connect API**. This is where you create and manage API clients.
  </Step>

  <Step title="Create an API client">
    Click **Create** to add a new API client. There are two settings that matter:

    * **Project**: Set this to **"N/A"**
    * **Role**: Set this to **"Operations"**

    <Warning>
      You must set the Project field to "N/A". Selecting a specific project will cause 403 permission errors when AppReply tries to access your reviews.
    </Warning>

    <Tip>
      The "Operations" role gives AppReply access to both reviews and app details (name, icon, description). If you only need review replies, "Customer service" also works, but AppReply won't be able to display your app's metadata.
    </Tip>
  </Step>

  <Step title="Copy your credentials">
    After creating the API client, copy the **Client ID** and **Client Secret (Key)** from the table. You will need both values in the next step.
  </Step>

  <Step title="Enter credentials in AppReply">
    1. Log in to [AppReply](https://appreply.co)
    2. Go to **Applications**
    3. Click the three dots next to your Huawei app and select **Integrate**
    4. Enter your **Client ID**
    5. Enter your **Client Secret**
    6. Click **Complete Integration**

    AppReply will verify your credentials against the Huawei API. If verification succeeds, your app's name, icon, and developer info will be populated automatically.
  </Step>
</Steps>

## Adding a Huawei app

If your Huawei app is not yet listed in AppReply, you can add it manually:

1. Go to **Applications** and click **Add App**
2. Scroll to the **Add from other stores** section
3. Select **Huawei AppGallery**
4. Enter the **App ID** and **App Name**
5. Click **Add App**, then integrate using the steps above

<Tip>
  You can find your App ID in AppGallery Connect under your app's project settings or on the app details page.
</Tip>

## Regional API endpoints

Huawei uses different API servers depending on where your app is published. AppReply handles this automatically, but it helps to know that Huawei splits traffic across four regional domains:

| Region           | Countries (examples)                                                   |
| ---------------- | ---------------------------------------------------------------------- |
| China            | CN                                                                     |
| Europe/DRE       | EU countries, Turkey, Saudi Arabia, UAE, South Africa, Nigeria, Israel |
| Asia-Pacific/DRA | India, Japan, South Korea, Australia, Singapore, US, Canada, Brazil    |
| Russia/DRRU      | Russia, Belarus, Kazakhstan                                            |

You do not need to configure anything for this. AppReply detects the correct region based on your app's distribution settings.

## Verification

After completing the integration, AppReply will:

1. Verify your API client credentials
2. Test the connection to AppGallery Connect
3. Begin syncing your reviews (usually within 5-15 minutes)

## Troubleshooting

* **403 permission errors**: This almost always means the Project field is set to a specific project instead of "N/A". Edit your API client in AppGallery Connect and change the Project to "N/A".
* **Invalid credentials**: Double-check the Client ID and Client Secret. Make sure you copied the Secret (Key), not the Client ID twice.
* **Missing app details**: If your app name and icon are not populated after integration, your API client may be using the "Customer service" role instead of "Operations". The "Customer service" role only grants review access, not app metadata.
* **No reviews appearing**: Confirm your app has published reviews on AppGallery. New apps or apps with very few downloads may not have reviews yet.

## Security notes

* Your credentials are encrypted before being stored
* AppReply only accesses the review and app-info portions of the Huawei API
* You can revoke access at any time by deleting the API client in AppGallery Connect

## Need help?

* Click the chat bubble in the bottom right corner of your dashboard
* Email: [help@appreply.co](mailto:help@appreply.co)
* Response time: usually within 24 hours during business hours
