{"id":7005,"date":"2021-04-14T14:15:50","date_gmt":"2021-04-14T14:15:50","guid":{"rendered":"https:\/\/docs.campaignsuite.nl\/docs\/campaignsuit\/salesforce\/connected-app\/"},"modified":"2021-04-14T14:18:59","modified_gmt":"2021-04-14T14:18:59","slug":"connected-app","status":"publish","type":"docs","link":"https:\/\/docs.campaignsuite.nl\/en\/docs\/campaignsuit\/salesforce\/connected-app\/","title":{"rendered":"Connected app"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"7005\" class=\"elementor elementor-7005\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8838f6a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8838f6a\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-23dee2d\" data-id=\"23dee2d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0875f22 elementor-widget elementor-widget-text-editor\" data-id=\"0875f22\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>A Connected App within <a href=\"https:\/\/www.salesforce.com\/\" target=\"_blank\" rel=\"noopener\"> Salesforce <\/a> ensures that you can set up an authorized connection in a secure way to send data back and forth. This connection is established through <a href=\"https:\/\/en.wikipedia.org\/wiki\/OAuth\" target=\"_blank\" rel=\"noopener\"> oAuth <\/a>.<\/p><p>Follow the steps below to add the Connected App to SalesForce.<\/p><ol><li style=\"list-style-type: none;\"><ol><li>Go to Salesforce Setup and search for <strong> App <\/strong>.<\/li><li>Then click on <strong> App manager <\/strong>in the search results<\/li><li>Click on <strong> New Connected App <\/strong>in the top right corner<\/li><li>Enter a Connected App Name and a contact email address.<\/li><li>Check the checkbox <strong> Enable OAuth Settings <\/strong> under the heading <strong> API (Enable OAuth Settings) <\/strong><\/li><li>Enter the following link at <strong> Callback URL <\/strong>: <em> https:\/\/api.campaignsuite.nl\/v1\/token\/salesforce\/register <\/em><br \/>This link can be found in the CampaignSuite settings under the Salesforce tab:<br \/><a href=\"https:\/\/docs.campaignsuite.nl\/wp-content\/uploads\/2021\/03\/Screenshot-2021-03-05-at-12.38.05.png\"> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp- image-5874 size-large \" src=\" https:\/\/docs.campaignsuite.nl\/wp-content\/uploads\/2021\/03\/Screenshot-2021-03-05-at-12.38.05-1024x243.png \" alt=\"\" width=\"1024\" height=\"243\" \/> <\/a><\/li><li>Add the following 2 rights to <strong> Selected OAuth Scopes <\/strong>:<br \/>&#8211; Access and manage your data (api)<br \/>&#8211; Perform requests on your behalf at any time (refresh_token, offline_access)<\/li><li>Click on save at the bottom of the page<\/li><\/ol><\/li><\/ol><p>It can take an average of 10 minutes for settings to be processed in Salesforce. In the meantime, copy the <strong> Consumer Key <\/strong> and <strong> Consumer Secret <\/strong> from the newly created App. We will soon set this up at CampaignSuite.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>A Connected App within Salesforce ensures that you can set up an authorized connection in a secure way to send data back and forth. This connection is established through oAuth . Follow the steps below to add the Connected App to SalesForce. Go to Salesforce Setup and search for App . Then click on App [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":6989,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-7005","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/comments?post=7005"}],"version-history":[{"count":3,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7005\/revisions"}],"predecessor-version":[{"id":7015,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7005\/revisions\/7015"}],"up":[{"embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/6989"}],"wp:attachment":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/media?parent=7005"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/doc_tag?post=7005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}