# 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](https://docs.runway.team/automations/types-of-automations#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 %}
