tencent cloud

Chat

News and Announcements
Release Notes
Announcements
Product Introduction
Overview
Basic Concepts
Scenarios
Features
Account System
User Profile and Relationship Chain
Message Management
Group Related
Official Account
Audio/Video Call
Use Limits
Purchase Guide
Billing Overview
Pricing
Purchase Instructions
Renewal Guide
Service Suspension Explanation
Refund Policy
Development Guidelines
Demo Zone
Activate Service
Free Demos
Quick Run
Download
SDK and Demo Source Code
Update Log
Chat Interaction (UI Included)
TUIKit Introduction
Getting Started
Full-feature Integration
Single-function Integration
Build with AI
Build Basic Interfaces
More Features
Customizing Appearance
Internationalization
Push Service
Overview
Noun explanation
Activate the Service
Quick Start
Manufacturer Channel
Statistics
Troubleshooting Tool
Client APIs
REST API
Push Callback
Advanced Features
Release Notes
Error Codes
FAQS
Desk
Overview
Quick Start
Integration Guide
Admin Operation Manual
Agent Manual
More Practices
Live Streaming Setup Guide
AI Chatbot
Super Large Entertainment and Collaboration Community
Discord Implementation Guide
How to Integrate Chat into Games
WhatsApp Channel-style Official Account Integration Solution
Send Red Packet
Firewall Restrictions
No UI Integration
Quick Start
SDK Integration
Initialization
Login and Logout
Message
Conversation
Group
Community Topic
User Profile and Relationship Chain
Offline Push
Cloud Search
Local Search
Official Channel Management
Client APIs
JavaScript
Android
iOS & macOS
Swift
Flutter
Electron
Unity
React Native
C APIs
C++
Server APIs
Secure authentication with UserSig
RESTful APIs
Webhooks
Console Guide
New Console Introduction
Creating and Upgrading an Application
Basic Configuration
Feature Configuration
Account Management
Group Management
Official Channel Management
Webhook Configuration
Usage
Viewing Guide for Resource Packages
Real-Time Monitor
Auxiliary Development Tools
Access Management
Advanced Features
FAQs
uni-app FAQs
Purchase
SDK
Account Authentication
User Profile and Relationship Chain
Message
Group
Audio-Video Group
Nickname and Profile Photo
Security Compliance Certification
Service Level Agreement
Security Compliance Certification
Chat Policies
Privacy Policy
Data Privacy and Security Agreement
Migration
Migration Solutions
Migration Solutions Lite
Error Codes
Contact Us

HarmonyOS

PDF
Focus Mode
Font Size
Last updated: 2025-08-22 14:28:23

HarmonyOS Console Configuration

Step 1: Enabling the Push Service

1. Log in to AppGallery Connect, select Develop and Services on the homepage, choose the corresponding project, and click Enable Now to enable the push service.


2. In the project setting, search for "Push" on the API management tab and enable the push service.


Step 2: Certificate and Signature Application

1. Certificate application: You must apply for a debug certificate in the debug stage, and apply for a release certificate in the release stage.
Log in to AppGallery Connect, select Certificates, APP ID and Profile.

Select Certificates, APP ID and Profile in the left sidebar, choose Certificate, then click Add Certificate on the Certificate page.

In the pop-up "Add Certificate" window, fill in the applied certificate information and click Submit.

Note:
Certificate request file (CSR) need to be applied for in DevEco Studio. For details, see generate certificate request file.
After a successful application, the certificate management page displays the certificate name and other information. Click Download to save the generated certificate to your local directory for subsequent debug signature usage.
2. Register debug device (required during debug stage only)
Log in to AppGallery Connect, select Certificates, APP ID and Profile.

Select Certificates, APP ID and Profile in the left sidebar, choose Device, then enter the Device page.

To add a single device, click Add Device in the upper right corner, fill in the device information in the popup window, then click Submit once completed.

Note:
Note: For how to obtain UDID for different device types, please refer to UDID Retrieval Method.
3. Profile file application: You must apply for a debug profile file in the debug stage, and apply for a release profile file in the release stage.
Log in to AppGallery Connect, select Certificates, APP ID and Profile.

Select Profile in the left sidebar, then click Add.

On the Add Profile page, enter the application name, profile name and other required information, then click Add once all information is provided.

4. Manual signing.
Configure the SecretKey (.p12) file, applied debug certificate (.cer) file, and debug Profile (.p7b) file in DevEco Studio. In the File > Project Structure > Project > Signing Configs window, uncheck "Automatically generate signature" (if it is a HarmonyOS app, check "Support HarmonyOS"), then configure the project's signature information.


Step 3: Create an IM Console Certificate Credential

1. Log in to the API Console, click My APIs in the sidebar on the left side of the page. Ensure push service is available under the project name. If not, click Apply for new HMS API service on the right.

2. Click in the left sidebar API service > Credential, then click Create credential under Service account key.

3. Fill in the required fields and click Create public/private key. Create and download the JSON file. The downloaded file is exactly your Service Account credential file.

4. Save the downloaded file for IM Console Configuration usage.

Step 4: Apply for Scenario-Based Rights and Interests

Push Kit supports various scenario-based message types. Among them, certain scenario-based message types require you to apply for special rights and interests for normal sending, such as Chat message type scenarios.
Log in to AppGallery Connect, select Develop and Services, click Push Service, and on the Configuration page, click to apply for self-categorization benefits. Follow the prompts to apply and activate. For detailed introduction, refer to Push Scenario-Based Message Benefits.


Chat Console Configuration

1. Log in to Chat Console, go to the Chat > Push > Access Settings page, and click Add Certificate to create a certificate.

2. Select the certificate credential generated in Procedure 3 above and upload it to the newly added HarmonyOS certificate.

3. Click subsequent actions
Open app: Click the notification bar message to pull up the application homepage by default.
Open specified in-app page: After receiving a push message, click the notification bar. The component will Webhook this click event and offline message pass-through.
4. After adding a certificate, the IM console will allocate a certificate ID for you to access and use.



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback