Install ZChat API Demo

ZChat API Demo is a simple Web API application. It demonstrates the powerful capabilities of ZChat API.

The following guide assumes that you're deploying ZChat Web Site at zchatdemo.com and API Demo Site at zchatAPIdemo.com.

1. Copy API Demo to your application directory

Unzip the install zip to a new folder where you want the site to be hosted from (eg C:\inetpub\APITestWeb).

2. Configure the Web Site in IIS

Open up IIS Manager, select the Default Web Site (under Sites) and click the Stop button. Now, right click on Sites and select Add Website...

Provide a site name and the folder you want the site to be hosted from.

3. Modify ZChat Web site web.config to register ChatApiNotificationUrl and ChatApiKey

ChatApiKey is used to create a secure connection between ZChat Web Site(zchatdemo.com) and API Demo(zchatAPIdemo.com).

Please open web.config of ZChat Web Site(zchatdemo.com) and register event Notification URL(http://zchatAPIdemo.com/handle_chatapi_notification.ashx). ZChat Web Site(zchatdemo.com) sends the message to the listener specified in the notification URL.

4. Modify API Demo web.config to register ChatApiServiceUrl and ChatApiKey

ChatApiKey in API Demo web.config must be same as ChatApiKey in ZChat Web site web.config.

Please open web.config of ZChat API Demo(zchatAPIdemo.com) and register event service URL(http://zchatdemo.com/ChatApi.asmx).

5. You are all set!

If you installed the API Demo correctly, you will see the following screen that lets you know you're good to go.

6. Check API Demo site App_Date folder

The event notifications occur in ZChat Web site are saved into the log files. You can analyze API demo project to be familiar with ZChat API.

ON-PREMISE LIVE CHAT

ZChat Enterprise offers an on-premises Live Chat Solution. Protect customer data and other proprietary information by ensuring it never leaves your data-center.

Let's get started

Your customers are already on your site. Chat with your visitors, Increase sales and conversions, make your customers happy!

Start your 30 day free trial

Need ZChat Cloud?

ZChat is offered as a deployable product, that you can install and manage on your own server.
If, however, you favour a hosted chat solution and wish to take advantage of a cloud-based live chat, then we invite you to consider MyLiveChat.
MyLiveChat is built on the same technology as ZChat, but delivered as a hosted solution, with a variety of monthly subscription plans.


Read More

ZChat helps you make happy customers