{"id":31093,"date":"2024-11-01T11:19:45","date_gmt":"2024-11-01T02:19:45","guid":{"rendered":"https:\/\/docs.c-bot.pro\/?p=31093"},"modified":"2024-11-26T13:38:32","modified_gmt":"2024-11-26T04:38:32","slug":"google_cloud_settings","status":"publish","type":"post","link":"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/google_cloud_settings\/","title":{"rendered":"Google Cloud Settings"},"content":{"rendered":"\n<p><a href=\"https:\/\/docs.c-bot.pro\/en\/\"><i class=\"fas fa-book\"><\/i>&nbsp;Home<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\">User guide<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/\">BOT<\/a>  &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\">How to use the BOT editor<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\">Extension<\/a> &gt; Google Cloud settings<\/p>\n\n\n\n<p>To use Google services, you need to configure Google Cloud.<br>Please complete all the settings described on this page.<\/p>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">Configuration Overview<\/h2>\n\n\n\n<p>The extension calls APIs through a Google Cloud service account to securely interact with Google Drive services.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"296\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_about_en-1-1024x296.jpg\" alt=\"\" class=\"wp-image-31423\"\/><\/figure>\n\n\n\n<p>This section explains how to configure Google Cloud API for use with the extension.<\/p>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">Configuration Details<\/h2>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\">Project Creation<\/h3>\n\n\n\n<div style=\"margin:50px 0 0px;\">\n<span class=\"badge\">Operating Instructions<\/span>\n<\/div>\n\n\n\n<p>1.Access Google Cloud, and click \u201cEnabled APIs &amp; Services\u201d under \u201cAPIs &amp; Services\u201d in the upper left menu.<br><small>* Click <a rel=\"noreferrer noopener\" href=\"https:\/\/console.cloud.google.com\/projectselector2\/apis\/\" target=\"_blank\">here<\/a> for the \u201cLibrary\u201d.<\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_project_01_en-1024x577.jpg\" alt=\"\" class=\"wp-image-31424\"\/><\/figure>\n\n\n\n<p>2.Click \u201cCREATE PROJECT\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_project_02_en-1024x577.jpg\" alt=\"\" class=\"wp-image-31425\"\/><\/figure>\n\n\n\n<p>3.Enter any project name. Select \u201cOrganization\u201d and \u201cLocation\u201d according to your affiliation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_project_03_en-1024x577.jpg\" alt=\"\" class=\"wp-image-31426\"\/><\/figure>\n\n\n\n<h3 id=\"outline__2_2\" class=\"wp-block-heading\">Creating a Service Account<\/h3>\n\n\n\n<div style=\"margin:50px 0 0px;\">\n<span class=\"badge\">Operating Instructions<\/span>\n<\/div>\n\n\n\n<p>1.Access Google Cloud and click \u201cCredentials\u201d under \u201cAPIs &amp; Services\u201d in the upper left menu.<br><small>* Click <a rel=\"noreferrer noopener\" href=\"https:\/\/console.cloud.google.com\/apis\/credentials\/\" target=\"_blank\">here<\/a> for \u201cAuthentication Information.<\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_sa_01_en-1024x577.jpg\" alt=\"\" class=\"wp-image-31427\"\/><\/figure>\n\n\n\n<p>2.Click \u201cCREATE CREDENTIALS\u201d and then click \u201cService account\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_sa_02_en-1024x577.jpg\" alt=\"\" class=\"wp-image-31428\"\/><\/figure>\n\n\n\n<p>3.Enter the required fields and click \"DONE\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_sa_03_en-1024x577.jpg\" alt=\"\" class=\"wp-image-31429\"\/><\/figure>\n\n\n\n<p>4.Click the edit button for the service account you created.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_sa_04_en-1024x577.jpg\" alt=\"\" class=\"wp-image-31430\"\/><\/figure>\n\n\n\n<p>5. Click the \"KEYS\" tab, then select \"ADD KEY\" and click \"Create New Key\".<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_sa_05_en-1024x577.jpg\" alt=\"\" class=\"wp-image-31431\"\/><\/figure>\n\n\n\n<p>6. Select \"JSON\" and click \"CREATE\".<br>Clicking \"Create\" will download a JSON file.<br><strong>This JSON file will be used when calling the API.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_sa_06_en-1024x577.jpg\" alt=\"\" class=\"wp-image-31432\"\/><\/figure>\n\n\n\n<h3 id=\"outline__2_3\" class=\"wp-block-heading\">Enable the API to be used<\/h3>\n\n\n\n<div style=\"margin:50px 0 0px;\">\n<span class=\"badge\">Operating Instructions<\/span>\n<\/div>\n\n\n\n<p>1.Access Google Cloud and click \u201cLibrary\u201d under \u201cAPIs &amp; Services\u201d in the upper left menu.<br><small>* Click <a rel=\"noreferrer noopener\" href=\"https:\/\/console.cloud.google.com\/apis\/library\/\" target=\"_blank\">here<\/a> for the \u201cLibrary\u201d.<\/small><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"577\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_api_01_en-1024x577.jpg\" alt=\"\" class=\"wp-image-31433\"\/><\/figure>\n\n\n\n<p>2. Search for the API you want to use in the \"Search for APIs &amp; Services\" field, and click the \"ENABLE\" button to enable it.<br>\u30fbSince you will be using Google Drive, enable the Google Drive API.<br>\u30fbIf you are using Google Sheets, enable both the Google Drive API and the Google Sheets API.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"288\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_api_02_en-1024x288.jpg\" alt=\"\" class=\"wp-image-31434\"\/><\/figure>\n\n\n\n<h3 id=\"outline__2_4\" class=\"wp-block-heading\">Share a Google Drive folder<\/h3>\n\n\n\n<p>Create a folder of your choice in your Google Drive, and share it with the service account email address you created above.<br>When sharing, please select 'Editor' as the permission level.\"<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"570\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/11\/img_gc_sa_07_en-1024x570.jpg\" alt=\"\" class=\"wp-image-31422\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Home &gt; User guide &gt; BOT &gt; How to use the BOT editor &gt; Extension &gt; Google Cloud settings To use Google services, you need to configure Google Cloud.Please complete all the settings described on this page. Configuration Overview The extension calls APIs through a Google Cloud service account to securely interact with Google Drive services. This section explains how to configure Google Cloud API for use with the extension. Configuration Details Project Creation Operating Instructions 1.Access Google Cloud, and click \u201cEnabled APIs &amp; Services\u201d under \u201cAPIs &amp; Services\u201d in the upper left menu.* Click here for the \u201cLibrary\u201d. 2.Click \u201cCREATE PROJECT\". 3.Enter any project name. Select \u201cOrganization\u201d and \u201cLocation\u201d according to your affiliation. Creating a Service Account Operating Instructions 1.Access Google Cloud and click \u201cCredentials\u201d under \u201cAPIs &amp; Services\u201d in the upper left menu.* Click here for \u201cAuthentication Information. 2.Click \u201cCREATE CREDENTIALS\u201d and then click \u201cService account\u201d. 3.Enter the required fields and click \"DONE\". 4.Click the edit button for the service account you created. 5. Click the \"KEYS\" tab, then select \"ADD KEY\" and click \"Create New Key\". 6. Select \"JSON\" and click \"CREATE\".Clicking \"Create\" will download a JSON file.This JSON file will be used when calling the API. [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_locale":"en_US","_original_post":"https:\/\/docs.c-bot.pro\/?p=30978","footnotes":""},"categories":[37],"tags":[],"class_list":["post-31093","post","type-post","status-publish","format-standard","hentry","category-extension","en-US"],"_links":{"self":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/31093","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/comments?post=31093"}],"version-history":[{"count":5,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/31093\/revisions"}],"predecessor-version":[{"id":31437,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/31093\/revisions\/31437"}],"wp:attachment":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/media?parent=31093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/categories?post=31093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/tags?post=31093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}