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.
- 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 two terminal commands, zohoandroid and zohoios.
You can test the command by simply running them in your terminal
prompt, which would display the help message of the respective command.
All interfacing to the mobile SDK is done through these commands.
Register a Zoho Client
Since Zoho CRM APIs are authenticated with OAuth2 standards, it is necessary to register your app with Zoho.
- Visit https://accounts.zoho.com/developerconsole.
- Click “Add Client ID”.
- Enter the Client Name, Client Domain & Redirect URI
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. - Select the Client Type as Mobile.
- Click Create.