Integration Procedure
The lightweight web chat control can be quickly and efficiently integrated into your pages. You can perform integration development by referring to Figure 1.
- Before the development, prepare resources, obtain sign-in information, and configure the online customer service function. For details, see Preparation.
- Develop the token generation mechanism and token authentication API of the enterprise, and provide them for the CEC. After the authentication is successful, the CEC returns the token to the third-party system. The third-party system checks whether the request is sent by the current system. For details, see Developing a Token Generation Mechanism and Token Authentication API.
Huawei uses HTTPS to ensure the security of information transmission channels. Third parties must ensure that the developed authentication functions have security protection capabilities, including password complexity verification, anti-brute force cracking, and anti-DoS attack.
- Introduce related dependent frameworks, construct request parameters to request thirdPartyClient.js and newThirdPartyClient.js, and return the token, tenant ID, enterprise user ID and username, and other information to the CEC for authentication. After the authentication is successful, the lightweight access of the CEC web page chat capability can be implemented. For details, see Developing an Integration Page.
- Test and verify the functions of the web chat control. Initiate an online chat in the customer-side window to check the function of chatting with agents. For details, see Test and Verification.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot