{"id":17825,"date":"2020-10-26T09:23:57","date_gmt":"2020-10-26T09:23:57","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=17825"},"modified":"2020-10-26T13:59:38","modified_gmt":"2020-10-26T13:59:38","slug":"how-to-get-zoho-crm-tokens","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-get-zoho-crm-tokens\/","title":{"rendered":"How to get Zoho CRM Tokens"},"content":{"rendered":"\n<p>If you want to integrate Zoho CRM in AMP then first you need to purchase and install <a rel=\"noreferrer noopener\" href=\"https:\/\/ampforwp.com\/opt-in-forms\/\" target=\"_blank\">Opt-in Forms for AMP<\/a> plugin.<\/p>\n\n\n\n<p>After installing you will find this option in\u00a0<strong>WordPress Dashboard<\/strong>\u00a0->\u00a0<strong>AMP optin<\/strong>\u00a0->\u00a0<strong>Go to Settings option<\/strong> -> now you need three things &#8211; <strong>Zoho Scope Code, Zoho Client ID, and Zoho Client Secret ID<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"399\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/3-1024x399.png\" alt=\"\" class=\"wp-image-17828\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/3-1024x399.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/3-300x117.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/3-768x299.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/3-50x19.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/3-60x23.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/3-100x39.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/3.png 1049w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4>Follow the simple steps to get all these IDs from Zoho Account.<\/h4>\n\n\n\n<p><strong>Step 1:<\/strong> First of all Signup\/login at\u00a0<a href=\"https:\/\/api-console.zoho.com\/\">https:\/\/api-console.zoho.com\/<\/a><\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Add client and select the Self Client here <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1015\" height=\"345\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/4-1.png\" alt=\"\" class=\"wp-image-17841\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/4-1.png 1015w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/4-1-300x102.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/4-1-768x261.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/4-1-50x17.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/4-1-60x20.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/4-1-100x34.png 100w\" sizes=\"(max-width: 1015px) 100vw, 1015px\" \/><\/figure>\n\n\n\n<p><strong>Step 3: <\/strong>Hover over the\u00a0Self Client\u00a0and click\u00a0<strong>CREATE NOW<\/strong>, then click\u00a0<strong>OK.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1032\" height=\"348\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/5-1024x345.png\" alt=\"\" class=\"wp-image-17830\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/5-1024x345.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/5-300x101.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/5-768x259.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/5-50x17.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/5-60x20.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/5-100x34.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/5.png 1032w\" sizes=\"(max-width: 1032px) 100vw, 1032px\" \/><\/figure>\n\n\n\n<p><strong>Step 4:<\/strong> You will receive the client credentials such as\u00a0<strong>Client ID<\/strong>\u00a0and\u00a0<strong>Client Secret.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"344\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/6-1024x344.png\" alt=\"\" class=\"wp-image-17831\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/6-1024x344.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/6-300x101.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/6-768x258.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/6-50x17.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/6-60x20.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/6-100x34.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/6.png 1233w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 5:<\/strong> First copy this Client ID and Client Secret ID and place in optin settings <\/p>\n\n\n\n<p><strong>Step 6: <\/strong>Now to generate zoho scope code you have to place the module name and this is scope module code: <strong>ZohoCRM.modules.ALL<\/strong><\/p>\n\n\n\n<ul><li>You can generate an authorization code by filling in valid scope details and set the 10 minutes time duration under\u00a0<strong>Generate Code<\/strong>.<\/li><li>Select the\u00a0<strong>Time Duration<\/strong>\u00a0for which the grant token is valid. Please note that after this time, the grant token expires.<\/li><li>Enter a description and click\u00a0<strong>Create<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1020\" height=\"507\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/7.png\" alt=\"\" class=\"wp-image-17832\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/7.png 1020w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/7-300x149.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/7-768x382.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/7-50x25.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/7-60x30.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/7-100x50.png 100w\" sizes=\"(max-width: 1020px) 100vw, 1020px\" \/><\/figure>\n\n\n\n<p><strong>Step 7: <\/strong>The grant token code for the specified scope is displayed. Copy the grant token.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"979\" height=\"531\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/8.png\" alt=\"\" class=\"wp-image-17833\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/8.png 979w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/8-300x163.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/8-768x417.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/8-50x27.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/8-60x33.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/8-100x54.png 100w\" sizes=\"(max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<p><strong>Step 8:<\/strong> Copy code and place in optin settings<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"314\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/9-1024x314.png\" alt=\"\" class=\"wp-image-17834\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/9-1024x314.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/9-300x92.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/9-768x236.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/9-50x15.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/9-60x18.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/9-100x31.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/9.png 1176w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Note:<\/strong><\/p>\n\n\n\n<ul><li>Generating the grant token is a one-time process, provided you generate the access and refresh tokens within the time the grant token is valid for.<\/li><\/ul>\n\n\n\n<h4>Here is a video explaining how to generate a grant token with a self client application.<\/h4>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2020\/10\/zoho-token-connection1.mp4\"><\/video><\/figure>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>If you want to integrate Zoho CRM in AMP then first you need to purchase and install Opt-in Forms for AMP plugin. After installing you will find this option in\u00a0WordPress Dashboard\u00a0->\u00a0AMP optin\u00a0->\u00a0Go to Settings option -> now you need three things &#8211; Zoho Scope Code, Zoho Client ID, and Zoho&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17825"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=17825"}],"version-history":[{"count":9,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17825\/revisions"}],"predecessor-version":[{"id":17845,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/17825\/revisions\/17845"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=17825"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=17825"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=17825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}