# Huawei AppGallery

## Set up

### Navigate to the Integration settings page

1. Select an app in the top left corner from the Switcher
2. Navigate to App Settings by clicking the gear icon (⚙️) at the top of the Timeline sidebar
3. Click on Integrations in the sidebar

### Connect Huawei AppGallery

1. Find the Huawei AppGallery integration module under the App store capability section
2. Click “Connect”.
3. Enter the **Client ID** and **Client Secret.** To generate new credentials, go to [Huawei AppGallery Connect](https://developer.huawei.com/consumer/) > Users and Permissions > API Key / Connect API > Create. Note that the API client credentials must have access to your app's project, and the **App Administrator** role. Copy the **Client ID** and **Key (Client Secret) -** these are used to authenticate Runway with Huawei AppGallery Connect.
4. Enter your app’s **App ID**.
5. Click “Install”.

{% hint style="info" %}
You can find your app’s App ID by navigating to **My Apps** in Huawei AppGallery Connect and selecting your app. Then under **Workspace** find the **App ID** field.
{% endhint %}

## Releasing on Huawei AppGallery

When running a release through Runway to the the Huawei AppGallery destination, we highly recommend enabling the [Upload build artifacts automation](/automations/types-of-automations.md#upload-build-artifacts-for-distribution) to let Runway automate the upload of new builds from your CI/CD workflow runs to Huawei AppGallery.&#x20;

{% hint style="warning" %}
Because of a limitation with the Huawei AppGallery API, Runway is unable to surface build details of builds that have been selected for release with a given version directly in the AppGallery Connect portal. If the upload build artifacts automation is enabled, Runway will infer the selected build based on the last build that was successfully uploaded, but this won't necessarily reflect the build that's been selected in AppGallery Connect.
{% endhint %}


---

# 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://docs.runway.team/integrations/app-stores/huawei-appgallery.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.
