/ LetMeExplain

How to setup a WeChat sandbox account on Ongair

If you would like to test out how an official WeChat account works with Ongair, a Sandbox account is a great way to get started. Sandbox accounts are free test accounts provided by WeChat to allow you to test the Official Account process.

Today, I'll take you through the creation of a Sandbox account and how you can add it as a WeChat channel on Ongair.

Before we begin, ensure you have downloaded and installed the WeChat app on your phone. It is available on both the iOS App Store and Google Play Store for Android.

1. Access the Sandbox Url

Visit the Test account WeChat admin platform page here. Note that this page is currently in Chinese, so you might need to use Google Translate to navigate. A screenshot of the page is shown below.

wechat_sandbox

Click the green button (It has the text 'log in' if you're using Google Translate). This then takes you to a page with a QR code.

2.Authorize Login

In order to authenticate yourself, you need to scan the QR code on your WeChat App. To do this, launch your WeChat app on your smartphone, click the '+' icon and select Scan QR code. Once you have scanned the QR code, your browser should detect this action. To complete, press the 'Log In' button on your mobile phone. If successful you will be redirected to the Administration portal.

wechat_sandbox_admin-1

Again, feel free to translate this page from Chinese to English. You should see a listing all the details of your Sandbox account including your WeChat Id, Your access token, Unique URL etc.

Ensure you keep this page open ( i.e do not close the window ) you will need it to complete your account creation.

3.Setup your Sandbox account on Ongair

After successfully creating your Sandbox account, head on over to your Ongair dashboard, select add channel at the bottom left hand side of your page.

If you do not have an Ongair account, sign up and you will automatically be redirected to the channel creation page. Select WeChat from the channel list presented.

Since we already have a sandbox account, click on the ' Connect my Account' button.

4. Fill in security credentials.

In this next section, fill in the security credentials for your WeChat sandbox account.

All these details can be found on the WeChat admin page we had earlier. Simply, refer to it and paste the values into their respective sections.

The WeChat Id can be found on the top right hand of the WeChat admin page. It usually starts with the characters 'gh_'

Also please note sometimes when you translate the page it changes the first letter your App id to uppercase 'WX...'. It should be 'wx...'

Ensure you have checked the ' Sandbox account' radio button, before clicking Activate.

5. Activate your account

Activate your account by copying the API URL and the Client Token into your WeChat admin platform API page.

Copy them into the sections for API URL and Client Token.

Head back to your Ongair dashboard and click finalize.

6.Success

Great, now that you have successfully created your WeChat account. You can take a tour of the Ongair dashboard, send yourself a test message or set-up auto responders.

If you experience any difficulties creating your account, we'd be happy to help just send us an email at hello@ongair.im or you can reach us through our WeChat ID: ongairim..