Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dialogflow Messenger: Setting up different environments

Hello, I'm using Dialogflow ES and integrating it onto our site using DIaglogflow Messenger.  I'm now looking into creating environments and I can follow the steps fine at https://cloud.google.com/dialogflow/es/docs/agents-versions.  However, what I want to do is have a development environment integrated into our development site and have a production environment integrated into our production site.  When I go to Dialogflow's Integration settings, I can only activate one environment at a time (draft, development, OR production).  I also see the embed code is the same between the environments.  Is it possible to have the draft, development, AND production environments active at the same time?

Solved Solved
0 2 637
1 ACCEPTED SOLUTION

Good day @fogpuddle,

Welcome to Google Cloud Community!

Unfortunately, Dialogflow messenger in Dialogflow CX is still in preview, you can only test one environment at a time using Dialogflow messenger. Although, as a workaround you can try creating another agent by exporting your current agent in a different version (development), then you can embed the code in your production site and development site. Also, if you want this feature you can submit a feature request using this link: https://cloud.google.com/support/docs/issue-trackers

Hope this helps!

View solution in original post

2 REPLIES 2

Good day @fogpuddle,

Welcome to Google Cloud Community!

Unfortunately, Dialogflow messenger in Dialogflow CX is still in preview, you can only test one environment at a time using Dialogflow messenger. Although, as a workaround you can try creating another agent by exporting your current agent in a different version (development), then you can embed the code in your production site and development site. Also, if you want this feature you can submit a feature request using this link: https://cloud.google.com/support/docs/issue-trackers

Hope this helps!

Thank you @kvandres   I appreciate your feedback.  I did do the workaround that you suggested and it works pretty well.  My only question is if the training of Dialogflow would be different between the two agents since I cannot export the training from one and import into another.