{"id":3970,"date":"2024-12-17T15:46:24","date_gmt":"2024-12-17T12:46:24","guid":{"rendered":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3970"},"modified":"2025-02-07T15:10:13","modified_gmt":"2025-02-07T12:10:13","slug":"connectors-2","status":"publish","type":"page","link":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3970","title":{"rendered":"<strong>Connectors<\/strong>"},"content":{"rendered":"\n<p>To grant applications access to your Google Sheet or email via SMTP, you first need to create the appropriate connector and then link it to the script.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors.png\"><img decoding=\"async\" width=\"286\" height=\"700\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors.png\" alt=\"\" class=\"wp-image-3971\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors.png 286w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors-123x300.png 123w\" sizes=\"(max-width: 286px) 100vw, 286px\" \/><\/a><\/figure>\n\n\n\n<p>To do this, go to the corresponding section in the left menu of your dashboard and click on <strong>&#8220;<\/strong>+ Add<strong>&#8220;<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors1.png\"><img decoding=\"async\" width=\"1024\" height=\"219\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors1-1024x219.png\" alt=\"\" class=\"wp-image-3972\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors1-1024x219.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors1-300x64.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors1.png 1633w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 id=\"google_sheets\" class=\"anchor\">Google Sheets-connector<\/h2>\n\n\n\n<p>In the form that opens, enter a name for the new connector, select the <strong>Customer<\/strong> for whom the connector will be created, add a comment (optional), and select <strong>&#8220;Google Sheets Connector&#8221;<\/strong> from the dropdown list in the <strong>&#8220;Connector Type&#8221;<\/strong> field.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors2.png\"><img decoding=\"async\" width=\"1024\" height=\"433\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors2-1024x433.png\" alt=\"\" class=\"wp-image-3973\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors2-1024x433.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors2-300x127.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors2.png 1184w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Next, in the &#8220;Spread Sheet ID&#8221; field, paste this portion of the link to your Google Sheet:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors2.png\"><img decoding=\"async\" width=\"789\" height=\"134\" src=\"http:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors2.png\" alt=\"\" class=\"wp-image-3267\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors2.png 789w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors2-300x51.png 300w\" sizes=\"(max-width: 789px) 100vw, 789px\" \/><\/a><\/figure>\n\n\n\n<p>In the <strong>&#8220;Sheet ID&#8221;<\/strong> field, specify the name of the sheet that will be used, for example, &#8220;Sheet1&#8221;.<\/p>\n\n\n\n<p>Click Save.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors3.png\"><img decoding=\"async\" width=\"1024\" height=\"410\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors3-1024x410.png\" alt=\"\" class=\"wp-image-3974\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors3-1024x410.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors3-300x120.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors3.png 1213w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>The Google Sheets connector is now created.<\/p>\n\n\n\n<p>If you don\u2019t have the link to the sheet, you can obtain it as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors3.png\"><img decoding=\"async\" width=\"1024\" height=\"574\" src=\"http:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors3-1024x574.png\" alt=\"\" class=\"wp-image-3268\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors3-1024x574.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors3-300x168.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors3.png 1704w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Make sure that anyone with the link has editing rights for the table:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors4.png\"><img decoding=\"async\" width=\"1024\" height=\"571\" src=\"http:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors4-1024x571.png\" alt=\"\" class=\"wp-image-3269\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors4-1024x571.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors4-300x167.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/05\/connectors4.png 1707w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Now, to use the connector, go to the &#8220;<a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=855\">Google Sheets<\/a>&#8221; section, where the properties of the block and supported operations are displayed.<\/p>\n\n\n\n<h2 id=\"smtp\" class=\"anchor\">SMTP-connector<\/h2>\n\n\n\n<p>In the form that opens, fill out the necessary details for the new connector:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors4.png\"><img decoding=\"async\" width=\"1024\" height=\"595\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors4-1024x595.png\" alt=\"\" class=\"wp-image-3975\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors4-1024x595.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors4-300x174.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors4.png 1188w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Complete the following required fields (according to your email service provider&#8217;s documentation):<\/p>\n\n\n\n<ul>\n<li><strong>Name<\/strong> \u2014 the name for your SMTP connector;<\/li>\n\n\n\n<li><strong>Customer<\/strong> \u2014 for whom this connector will be created;<\/li>\n\n\n\n<li><strong>Connector type<\/strong> \u2014 select <strong>&#8220;SMTP Connector&#8221;<\/strong> from the dropdown list;<\/li>\n\n\n\n<li><strong>SMTP server<\/strong> \u2014 the address of the SMTP server to be used for sending mail (e.g., <code>smtp.example.com<\/code>);<\/li>\n\n\n\n<li><strong>SMTP server port<\/strong> \u2014 enter the SMTP server port number (e.g., <code>587<\/code> or <code>465<\/code>);<\/li>\n\n\n\n<li><strong>SMTP security<\/strong> \u2014 the type of security used by your mail server (e.g., NONE, SSL, or STARTTLS). Note that this depends on your mail host and may be optional;<\/li>\n\n\n\n<li><strong>Sender name<\/strong> \u2014 specify the name that will appear for email recipients.<\/li>\n<\/ul>\n\n\n\n<p>Next, fill in the remaining (optional) fields:<\/p>\n\n\n\n<ul>\n<li><strong>Comment<\/strong> \u2014 a comment for the connector (optional);<\/li>\n\n\n\n<li><strong>Authorization<\/strong> \u2014 if your mail server requires SMTP authorization, select <strong>&#8220;Yes&#8221;<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>Click &#8220;Save&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors5.png\"><img decoding=\"async\" width=\"1024\" height=\"699\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors5-1024x699.png\" alt=\"\" class=\"wp-image-3976\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors5-1024x699.png 1024w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors5-300x205.png 300w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2024\/12\/connectors5.png 1164w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>The SMTP connector is now created.<\/p>\n\n\n\n<p>You can now use this connector to send mail via the specified SMTP connector in the <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3670\">Email<\/a> block.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To grant applications access to your Google Sheet or email via SMTP, you first need to create the appropriate connector and then link it to the script. To do this, go to the corresponding section in the left menu of your dashboard and click on &#8220;+ Add&#8220;. Google Sheets-connector In the form that opens, enter <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3970\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  &lt;strong&gt;Connectors&lt;\/strong&gt;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl\/administration-content.php","meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3970"}],"collection":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3970"}],"version-history":[{"count":4,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3970\/revisions"}],"predecessor-version":[{"id":4236,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/3970\/revisions\/4236"}],"wp:attachment":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}