{"id":2996,"date":"2024-10-11T08:50:44","date_gmt":"2024-10-11T08:50:44","guid":{"rendered":"https:\/\/woowbot.pro\/docs\/knowledgebase\/dialogflow-integration-with-chatbot\/"},"modified":"2025-10-31T11:13:48","modified_gmt":"2025-10-31T11:13:48","slug":"dialogflow-integration-with-chatbot","status":"publish","type":"kbx_knowledgebase","link":"https:\/\/woowbot.pro\/docs\/knowledgebase\/dialogflow-integration-with-chatbot\/","title":{"rendered":"Dialogflow Integration with ChatBot"},"content":{"rendered":"<p>Make sure that you are logged into the Google\/Gmail account that you want to use.<\/p>\n<p><strong>\u221a\u00a0<\/strong>First of all, You need to create a google project. In order to create a project please go to the following URL and follow along with the screenshots and links below.<\/p>\n<p>Link<a href=\"https:\/\/console.cloud.google.com\/home\/dashboard\">: https:\/\/console.cloud.google.com\/home\/dashboard<\/a><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-large wp-image-1529\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/10\/download-1024x409.png\" alt=\"\" width=\"1024\" height=\"409\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-1530\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/10\/download-1-1024x744.png\" alt=\"\" width=\"1024\" height=\"744\" \/><\/p>\n<p><strong>\u221a\u00a0<\/strong>After that, you need to create a service account for the project you created.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-1531\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/10\/download-2-1024x590.png\" alt=\"\" width=\"1024\" height=\"590\" \/><\/p>\n<p><strong>\u221a\u00a0<\/strong>Then you need to select\u00a0<strong>Owner<\/strong>\u00a0as the role for the\u00a0<strong>service account<\/strong>\u00a0you created. This part is very\u00a0<strong>important<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1532\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/10\/download-3-1024x749.png\" alt=\"\" width=\"1024\" height=\"749\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u221a\u00a0<\/strong>For creating a private key please go to\u00a0<a href=\"https:\/\/console.cloud.google.com\/home\/dashboard\">https:\/\/console.cloud.google.com\/home\/dashboard<\/a>\u00a0then go to project settings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1533\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/10\/download-5-1024x773.png\" alt=\"\" width=\"1024\" height=\"773\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u221a\u00a0<\/strong>After that click on the service account tab from the left menu and then create a private key. Select JSON key that you will have to download. You will need to later open the\u00a0<strong>JSON<\/strong> file in notepad and copy the key to the WoowBot DialogFlow Settings area.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1534\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/10\/download-6-1024x329.png\" alt=\"\" width=\"1024\" height=\"329\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u221a\u00a0<\/strong>After successfully creating the google project &amp; service account you need to create a Dialogflow agent from this link:\u00a0<a href=\"https:\/\/dialogflow.cloud.google.com\/\">https:\/\/dialogflow.cloud.google.com\/<\/a><\/p>\n<p>When creating the agent you should see the project you just created under Import and Existing project option.<\/p>\n<p>Select the project and give a name for your agent then hit the create button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1535\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/10\/download-4-1024x592.png\" alt=\"\" width=\"1024\" height=\"592\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u221a\u00a0<\/strong>You are all set now. You just need to put the private key that you created earlier and project ID in Chatbot Pro &gt; Settings &gt; Dialogflow page.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1536\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/10\/Screenshot_7-1024x878.jpg\" alt=\"\" width=\"1024\" height=\"878\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u221a\u00a0<\/strong>Then hit the save button.<\/p>\n<p>** Make sure that the Google Client Library is installed in the DialogFlow section.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1537\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/10\/Screenshot_8-300x285-1.jpg\" alt=\"\" width=\"300\" height=\"285\" \/> \u00a0 ========&gt;\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1538\" src=\"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/10\/google-client-300x108-1.jpg\" alt=\"\" width=\"300\" height=\"108\" \/><\/p>\n<p><strong>\u221a\u00a0<\/strong>Test the connection by clicking the Test connection button to make sure all is OK.<\/p>\n<p>Now WoowBot is connected to your DialogFlow agent and you can create Intents in your connected DialogFlow agent that will be automatically searched by the WoowBot for matching results \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Make sure that you are logged into the Google\/Gmail account that you want to use.<\/p>\n<p>\u221a First of all, You need to create a google project. In order to create a project please go to the following URL and follow along with the screenshots and links below.<\/p>\n","protected":false},"author":4,"featured_media":3238,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"kbx_category":[30],"kbx_tag":[],"class_list":["post-2996","kbx_knowledgebase","type-kbx_knowledgebase","status-publish","has-post-thumbnail","hentry","kbx_category-woowbot-interactions-2"],"_links":{"self":[{"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/2996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase"}],"about":[{"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/types\/kbx_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/comments?post=2996"}],"version-history":[{"count":2,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/2996\/revisions"}],"predecessor-version":[{"id":3070,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/2996\/revisions\/3070"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/media\/3238"}],"wp:attachment":[{"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/media?parent=2996"}],"wp:term":[{"taxonomy":"kbx_category","embeddable":true,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_category?post=2996"},{"taxonomy":"kbx_tag","embeddable":true,"href":"https:\/\/woowbot.pro\/docs\/wp-json\/wp\/v2\/kbx_tag?post=2996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}