Step 1: Set up a WeChat Sandbox Account
- Register and login to the WeChat Sandbox environment from here for English and here for Chinese versions.
- Click the Login button to continue.
- You would be required to install the WeChat mobile app to allow sign in using the QR presented on-screen.
- Scan the QR code and confirm Login to proceed.
- Post successful sign-in, you would be redirected to the Sandbox portal.
- The Sandbox portal provides information about your WeChat Sandbox App ID and App Secret.
- Make note of App ID and App Secret.
- You need to enter the WebHook URL and Token, you can obtain these values from the Channel page of the Platform as explained below.
Step 2: Set up a Webhook
- In the Platform, select the assistant that you want to add the WeChat channel to.
- Go to Channels & Flows > Channels > Digital > All > WeChat.
- Navigate to the Configurations tab and enter the following details:
- App Id – App Id from the weChat Sandbox portal page.
- App Password – App Secret from the weChat Sandbox portal page.
- Make a note the following details
- Webhook URL, and
- Access Token
- Update the WeChat Sandbox portal page with the above URL and access token and Save the details.
- Enable the weChat channel from the Platform.
