Integration steps

1. Open videochat admin console and expand Settings tab, click on Integration and set integrated parameter value to "true" (to learn more how to access administration please refer to corresponding section of the manual )

2. Create auth handler or use a default one and specify it in the handlers section of settings file. For example, if you want to use site_auth.php file located in the root folder of your site the code will look like:

<auth><![CDATA[
{ROOT}../site_auth.php&user_name={NAME}&password={PASSWORD}&uid={UID}
]]></auth>

3. Write the code for your authorization handler following the guidelines described in handler samples section of this manual.


4. You can keep parameters guestMode enable="true" and chatAuth enable="true", and if a user was not authorized by autoLogin handler, he will see Login Screen where he will be able to specify a username and enter the chat in Guest Mode.