Installation - iOS SDK

Installation - iOS SDK

Zoho CRM SDK is hosted with NPM (Node Package Manager). After installing NPM and its dependencies, use the following command to install Zoho CRM Mobile SDK.

  1. npm install -g zohomobilesdk

Since this is a command line utility, we request you to install this globally. This may require super user privilege in Linux based systems. However, this will also work if installed locally inside a directory. With this, the SDK expects that the project files are also created in the same directory.

Running this command will install a terminal command zohoios. You can test the command by simply running zohoios in your terminal prompt, which would display the help message of the command. All interfacing to the mobile SDK is done through this command.

Register a Zoho Client

Since Zoho CRM APIs are authenticated with OAuth2 standards, it is necessary to register your app with Zoho.

  1. Visit https://accounts.zoho.com/developerconsole.
  2. Click “Add Client ID”.
  3. Enter the Client Name, Client Domain & Redirect URI 
    Sample Redirect URI : zohoapp://
  4. Select the Client Type as Mobile.
    Your client app is now registered. The Client ID and Client Secret of the newly registered app will be found under Options > Edit in the above mentioned website.
  5. Click Create.

Note

  • You can also change the Client ID, Client Secret, Redirect URL and other settings of a running project by opening AppConfiguration.plist in your project and changing corresponding configuration.
  • In case you face errors with using NPM, try the install command with Sudo.
  • The Redirect URI must be your application’s custom URL Scheme.
    • Related Articles

    • Installation - Python SDK

      The SDK can be installed for your client application through Pip. Pip is a tool for dependency management in Python. Installing Pip Please refer the document below to install pip https://pip.pypa.io/en/stable/installing/ Installing the SDK Run the ...
    • Installation - PHP SDK

      Install Composer(if not installed) Run this command to install the composer curl -sS  https://getcomposer.org/installer  | php To install composer on mac/ linux machine: https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx To install ...
    • Configuration - iOS SDK

      Create a New Project Once your client has been registered, you can start creating your own iOS application. In your command line, move to the directory where you want to create your mobile project and execute the following command. zohoios create ...
    • Installation - Node JS SDK

      Node JS SDK will be installed and a package named 'zcrmsdk' will be created in the local machine. The package can be added using the following code: var ZCRMRestClient = require('zcrmsdk') Installing the SDK Run the command below to install the Node ...
    • iOS SDK Development

      Zoho CRM's Mobile SDK is a technology that helps developers build mobile applications to interact with their Zoho CRM data. Currently, the mobile app for Zoho CRM acts as a mobile interface to the Zoho CRM's web interface. But in case you need the ...