Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Generate the APIs for Google Hangouts by navigating to https://console.developers.google.com/project/_/apiui/apis/library page.
  2. Sign into Google Cloud Platform using your login credentials. 
  3. Once you are signed in successfully, the following Google APIs page opens.
  4. If required, click Select to choose any of the existing projects or else define a new project, from the Library menu.
    1. Click Create to open New Project page and specify the following details:
    2. Enter the unique Project NameGoogle generates and displays the unique Project ID, which cannot be changed once the project is created. The Project ID is the globally unique identifier for your project.

    3. System automatically displays the Organization details based on the login details.

    4. If there is a single Location, then the details are automatically displayed. In case multiple locations are available, then from the Location field, click Browse and select the Parent organization or folder.
    5. Click Create to create a new project, or else click Cancel.
  5. Once the new project is created, the following API Library page opens with the specified project name.
  6. On the Search bar, search for Google Hangouts.
  7. Click Hangouts Chat API to open it on a separate page.
  8. Click Enable to enable the Google Hangouts API.
  9. The Hangouts Chat API page appears. To use the API, click Create Credentials to open it on a separate page.
  10. On the Credentials page, click API Key to open it on a separate page.

    Info
    titleNote

    API key can be used in a project and with any API that supports it. 

    1. Specify the API Key Name.
    2. Select the required Application restrictions. Specify the required web sites, apps or IP addresses which can use this key. You can set the following restriction types for the key.
      1. None
      2. HTTP referrers (websites)
      3. IP addresses (web servers, cron jobs, etc.)
      4. Android apps
      5. iOS apps 

    3. Click Create to generate the API key.

      Info
      titleNote

      It may take up to 5 minutes for the settings to take effect.


    4. Once the API key is created, the following page appears with the generated API key.
  11. Copy the API Key and retain it, so that it can be used in the Skills Builder to communicate with the Google Hangouts.

    Info
    titleNote

    The API Key is used in Step 4 of Enable Google Hangouts Channel in Skills Builder section.


  12. From the Dashboard, go to Configuration for Hangout API.
    1. Copy the generated Project number (App ID) and retain it, so that it can be used in the Skills Builder in order to authenticate the messages received from the Skills Builder.

      Info
      titleNote

      The Project number (App ID) is used in Step 4 of Enable Google Hangouts Channel in Skills Builder section.


    2. Specify the unique Bot Name with which you interact.
    3. Specify the Avatar URL.

      Info
      titleNote

      Avatar URL is an image URL used to identify the bot.


    4. Specify the Description in a maximum of 40 characters .and then select both checkboxes under Functionality

  13. In the Connection Settings section, select Bot URL and then specify the Message URL that is copied from the Skills Builder. 

    Info
    titleNote

    To know about the Message URL, refer Step 5 of Enable Google Hangouts Channel in Skills Builder section.


...