3.1.12 Setting up Google Dialogflow

From v4.0.70, you can create your own service account and link it with Orbita projects.

The below document describes the steps to generate a service account key and upload it to Orbita.

 

Google

Creating a Dialogflow Agent

To configure Dialog flow in your Google account, go to https://console.dialogflow.com/api-client/#/login .

  1. Sign in with your Google account.

  2. Click Create Agent.

  3. Enter an Agent name. (Agent name cannot contain spaces).

  4. Select your Default Language and Default Time Zone and click Create.

Create a Service Account

  1. Go to https://console.cloud.google.com/iam-admin/serviceaccounts .
    or

    1. Click on the gear icon from the Dialogflow agent page and then click on the Project ID link.

      The google console page will load on a new tab.

    2. Select the Agent from the dropdown at the top of the page.

    3. Click on the hamburger menu to open the side menu. Select IAM & Admin and then select Service Accounts from the child dropdown.

  2. Make sure your Agent is selected and click on “Create Service Account“.

  3. Choose a name for your service account and click on Create and Continue button.

     

  4. Search and select the Dialogflow API Admin role from the dropdown and click on ‘Continue’.

      

  5. You can skip the third step and click on Done.

Generate a key

  1. Click on the verticle ellipses button against the Service Account and select Manage Keys from the dropdown menu.

     

  2. In the pop-up window, select JSON and click on Create.

     

  3. The key will be downloaded to your computer.

     

IAM Labels

  1. Navigate to IAM & Admin > Labels.

  2. Ensure your agent does not have any Key-Value pairs.

If your agent has a Key-Value pair, delete the Key-Value pair and then Save it.

Orbita

  1. Login to Orbita Experience Manager.

  2. Select a project.

  3. From the Project side navigation menu, select Develop > Deployment.

     

  4. Select the Google tab and Click on Upload Key.

     

  5. Click on Choose File and upload the Service Account key file that you downloaded earlier from your computer. Click on Add.

     

  6. The Service account is saved and you can verify it by clicking on the gear icon.

  7. Select the agent from the drop-down.

     

  8. Click on Publish.

Your interaction model will be published to the Agent.

Video Content

https://cdn.orbita.cloud/assets/orbita/coreplatform/googledialogflow.mp4

Video Key Messages

  • How to navigate your Orbita Environment and create a new project for your new conversational experience

  • How to set up your Google Dialogue Flow account for deployment

  • Connect your Google Dialogue Flow with Orbita and Experience Designer to start testing and launching

Supporting Documentation

https://orbita.atlassian.net/wiki/spaces/OCS/pages/7176344

https://orbita.atlassian.net/wiki/spaces/OCS/pages/7110728

http://orbita.ai