{"id":24,"date":"2018-08-06T11:35:19","date_gmt":"2018-08-06T11:35:19","guid":{"rendered":"https:\/\/sfplugin.com\/docs\/getting-started\/step-1-setup-the-connected-app\/salesforce-classic\/"},"modified":"2025-10-16T20:20:30","modified_gmt":"2025-10-16T20:20:30","slug":"salesforce-classic","status":"publish","type":"docs","link":"https:\/\/sfplugin.com\/docs\/getting-started\/step-1-setup-the-connected-app\/salesforce-classic\/","title":{"rendered":"Setup the Connected App | Salesforce Classic"},"content":{"rendered":"<p>Select the <strong>Setup\u00a0<\/strong>from the top right.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-97 size-full\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Open-Setup.gif\" alt=\"\" width=\"600\" height=\"299\" \/><\/p>\n<p>Update Summer &#8217;25: Make sure <strong>Allow creation of connected apps is turned on<\/strong>. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Where-to-find-Connected-App-Salesforce-2025.png\" alt=\"Where to find Connected App Salesforce 2025\" width=\"600\"  height=\"793\" class=\"aligncenter size-full wp-image-1715\" \/><\/p>\n<p>Once in the\u00a0<strong>Setup<\/strong> page, in the Quick find search &#8211; type &#8216;<strong>apps&#8217;\u00a0<\/strong>and click <strong>Apps\u00a0<\/strong>to open<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-100 size-full\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Create-Apps.gif\" alt=\"\" width=\"600\" height=\"300\" \/><\/p>\n<p>You&#8217;ll be in the <strong>Apps<\/strong> page. Scroll down and in the <b>Connected Apps<\/b> section, click <strong> New<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-103 size-full\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Pick-Connected-App.gif\" alt=\"\" width=\"600\" height=\"340\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>This is where we will define the Connected App details<\/p>\n<p>You may enter any name here, let&#8217;s enter\u00a0<strong>WordPress Website Plugin\u00a0Connection<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-105 size-full\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Name-Connected-App.gif\" alt=\"\" width=\"600\" height=\"366\" \/><\/p>\n<p>Enter your email in the\u00a0<strong>Contact Email\u00a0<\/strong>field<\/p>\n<p>We&#8217;ll need to set two more fields<\/p>\n<p>First the Callback url &#8211; it tells Salesforce where our plugin resides. To get this url link navigate to the plugin page on your WordPress Dashboard.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-60 size-full\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Copy-Callback-URL.gif\" alt=\"\" width=\"600\" height=\"299\" \/><\/p>\n<p>Copy the Callback URL from the Plugin Page.<\/p>\n<p>Back in Salesforce, in the\u00a0<strong>API\u00a0<\/strong>section of the Connected App, select the <strong>Enable oAuth Settings<\/strong> checkbox. The oAuth section is enabled, paste the<strong> Callback URL <\/strong>field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-61 size-full\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Paste-Callback-URL.gif\" alt=\"\" width=\"600\" height=\"339\" \/><\/p>\n<p>in the <strong>Available oAuth Scopes <\/strong>option\u00a0pick the <strong>api<\/strong> and <strong>refresh_token<\/strong>, <strong>offline_access<\/strong> scopes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/connected-app-scopes.png\" alt=\"\" width=\"2282\" height=\"514\" class=\"aligncenter size-full wp-image-1323\" srcset=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/connected-app-scopes.png 2282w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/connected-app-scopes-300x68.png 300w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/connected-app-scopes-768x173.png 768w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/connected-app-scopes-1024x231.png 1024w\" sizes=\"auto, (max-width: 2282px) 100vw, 2282px\" \/><\/p>\n<p>IMP: Make sure the <strong>Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows <\/strong> is unchecked. <\/p>\n<p>All Done! Scroll down all the way to the bottom and click\u00a0<strong>Save<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-106 size-full\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Save-Connected.gif\" alt=\"\" width=\"600\" height=\"368\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>After saving you&#8217;ll see the confirmation screen, click <strong>Continue<\/strong><\/p>\n<p>The Connected App has been created, you will now see the <strong>Consumer Key<\/strong> and <strong>Consumer Secret\u00a0<\/strong>values assigned to our app.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-37 size-full\" src=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Screen-Shot-2018-08-06-at-7.06.53-pm.png\" alt=\"\" width=\"882\" height=\"117\" srcset=\"https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Screen-Shot-2018-08-06-at-7.06.53-pm.png 882w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Screen-Shot-2018-08-06-at-7.06.53-pm-300x40.png 300w, https:\/\/sfplugin.com\/docs\/wp-content\/uploads\/2018\/08\/Screen-Shot-2018-08-06-at-7.06.53-pm-768x102.png 768w\" sizes=\"auto, (max-width: 882px) 100vw, 882px\" \/><\/p>\n<p>We will use these values to connect to Salesforce from our WordPress site.<\/p>\n<p>In the final step we&#8217;ll copy these values to our Plugin and complete the connection.<\/p>\n<p><a href=\"https:\/\/sfplugin.com\/docs\/?docs=getting-started\/step-2-authorize-connection-inside-plugin\"><button>Go to the Final Step!<\/button><\/a><\/p>\n<p>If you&#8217;re interested about knowing more about the workings of Connected App, here&#8217;s a\u00a0<a href=\"https:\/\/help.salesforce.com\/articleView?id=connected_app_create.htm&amp;type=5\" target=\"_blank\" rel=\"noopener noreferrer\">link to<\/a> the Official Documentation from Salesforce<\/p>\n","protected":false},"featured_media":0,"parent":21,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-24","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":17,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/24\/revisions"}],"predecessor-version":[{"id":1718,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/24\/revisions\/1718"}],"up":[{"embeddable":true,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/21"}],"next":[{"title":"Setup the External Client App","link":"https:\/\/sfplugin.com\/docs\/getting-started\/step-1-setup-the-connected-app\/setup-the-external-client-app\/","href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/1776"}],"prev":[{"title":"Am I running Salesforce Classic or Salesforce Lightning?","link":"https:\/\/sfplugin.com\/docs\/getting-started\/step-1-setup-the-connected-app\/am-i-running-salesforce-classic-or-salesforce-lightning\/","href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/docs\/27"}],"wp:attachment":[{"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sfplugin.com\/docs\/wp-json\/wp\/v2\/doc_tag?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}