Zoho Data API Implementation

Tags:  

How to deploy Zoho Data API's


This section guides you through how to integrate Zoho Data APIs into your site or application. The Zoho Data APIs provide a convenient way of giving users access to the full functionality of the respective Zoho Services from within your site or application. This is due to the fact that an account is created in Zoho for each user and all the user data is stored on Zoho servers.

The following Zoho Services are currently available:
Other Zoho services like CRM, Planner and Creator will soon be available.

Download ZAPI - Data Version

You can download the zip file from here. The zip file contains a sample data api implementation based on Java. We will be providing samples in other languages like PHP, .Net, Ruby on Rails in future.

Install and Start ZAPI - Data Version

ZAPI can be deployed on an existing web server if you have one available or installed on a new web server.

Deploying ZAPI - Data Version

Steps:
  • Install Apache-Tomcat web server if not already installed.
  • Unzip the zoho.zip content under <TOMCAT-HOME>/webapps directory
  • Configure your proxy settings
    • If you have any proxy settings ,enter the proxy details in the userSettings.conf present under zoho/WEB-INF/classes.If you don't have proxy server then configure "isProxyEnabled=false" in the userSettings.conf.

  • Configure your mail server settings
    • Enter the mailserver settings in userSettings.conf present under zoho/WEB-INF/classes.

  • Configuring API Key
    • Execute the url : http://writer.zoho.com/apikey.htm
    • Enter the details required for getting API Key and submit
    • API key will be sent to the email id entered above.Enter the API Key in userSettings.conf present under zoho/WEB-INF/classes.

  • Embedding ZAPI to your site
    • Create a jsp file with  your content and name it as MainLayout.jsp
    • Insert the the below line in  MainLayout.jsp header part
      • <jsp:include page="/zoho/jsp/headerContent.jsp" />
    • Insert the the below line where the main content to be displayed
      • <jsp:include page="/zoho/jsp/mainContent.jsp" />
    • create a link or tab for ZAPI and enter href value as "/zoho/forwardhome.do"

  • Zoho Signup (if you already have zoho account then please skip this step)
    • Start the tomcat webserver
    • Execute the url http://<machinename>:tomcatport/zoho/zohosignup.do
    • Enter the details required for sign up and submit

  • Start the tomcat server and  click the zoho link created in the above step.
  • Enter the Zoho username and password in the Login page.

  • Once ZAPI is successfully installed, users will be able to create, preview, export, share their documents/presentations/sheets as well as create/start web meetings directly from your site or application.

 







 RSS of this page