{"id":7409,"date":"2021-05-15T16:32:10","date_gmt":"2021-05-15T16:32:10","guid":{"rendered":"https:\/\/docs.campaignsuite.nl\/docs\/developers\/client-connections\/"},"modified":"2021-07-08T10:13:16","modified_gmt":"2021-07-08T10:13:16","slug":"client-connections","status":"publish","type":"docs","link":"https:\/\/docs.campaignsuite.nl\/en\/docs\/developers\/client-connections\/","title":{"rendered":"Client connections"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"7409\" class=\"elementor elementor-7409\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e3a6c13 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e3a6c13\" 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-9d57c26\" data-id=\"9d57c26\" 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-58b483f elementor-widget elementor-widget-text-editor\" data-id=\"58b483f\" 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>As a developer you have the disposal to use the authorized connections in your own theme. There are a number of predefined functions that you can use per connection. Always start each connection in the following way first:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ec917c2 elementor-widget elementor-widget-docly_code_syntax_highlighter\" data-id=\"ec917c2\" data-element_type=\"widget\" data-widget_type=\"docly_code_syntax_highlighter.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t                    <div class=\"docly-source-code prism\" data-lng-type=\"php\">\r\n\t\t\t<pre>\r\n\t\t\t\t<code class=\"language-php\">\r\n\t\t\t\t\t\/\/Salesforce connection\n$salesforce = instance(&#039;Client_Salesforce&#039;);\n\n\/\/Mautic connection\n$mautic = instance(&#039;Client_Mautic&#039;);\n\n\/\/Pardot connection\n$pardot = instance(&#039;Client_Pardot&#039;);\n\n\/\/Dynamics connection\n$dynamics = instance(&#039;Client_Dynamics&#039;);\n\t\t\t\t<\/code>\r\n\t\t\t<\/pre>\r\n            <\/div>\r\n                \t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-36ab0b4 elementor-widget elementor-widget-text-editor\" data-id=\"36ab0b4\" 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>View the articles below to see the available function per connection.<\/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>As a developer you have the disposal to use the authorized connections in your own theme. There are a number of predefined functions that you can use per connection. Always start each connection in the following way first: \/\/Salesforce connection $salesforce = instance(&#039;Client_Salesforce&#039;); \/\/Mautic connection $mautic = instance(&#039;Client_Mautic&#039;); \/\/Pardot connection $pardot = instance(&#039;Client_Pardot&#039;); \/\/Dynamics connection [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":7405,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-7409","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7409","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=7409"}],"version-history":[{"count":3,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7409\/revisions"}],"predecessor-version":[{"id":7439,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7409\/revisions\/7439"}],"up":[{"embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7405"}],"wp:attachment":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/media?parent=7409"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/doc_tag?post=7409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}