How to Publish the interaction model to Dialogflow?

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

Follow the steps to generate a service account key and upload it to Orbita.

Prerequisites

  1. Make sure you have a Dialogflow Agent. See here: Create a Dialogflow Agent

Step 1: Create a Google Service Account

  1. Go to https://console.cloud.google.com/iam-admin/serviceaccounts OR If you are on your Dialogflow Agent page follow the steps below:

    1. Click on the gear icon from the Dialogflow agent page and then click on the Google Cloud link as shown below.

    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'.

     

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

    a.

    b.

     

  5. You can skip the next step and click on ‘Done’.

Step 2: Generate a key

  1. Click on the verticle ellipses button under Actions of the newly created Service Account.

     

  2. Select Manage keys from the dropdown.

     

  3. On the Keys page, click the Add Key drop-down menu > Create new key.

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

     

  5. The key will be downloaded to your computer.

Step 3: Connect Google Key to Orbita

  1. Navigate back to Orbita and log in 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 JSON 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.

Related Articles