rajcrk / node-chat-integrator

Jenkins Job Deployment Chat bot in Google Chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-chat-integrator


Project Setup

  • Setup a project for bot in the Google API console with the Hangouts Chat enabled
  • Open your project in the API Console. In the list of APIs, click Hangouts Chat API.
  • Select the Configuration tab and enter the information for the bot
  • Configuring the bot

    Google Chatbot Configuration Click the configuration tab of the Hangouts Chat API and enter in the nessesary information for the bot.

    Prerequisite

  • Node
  • Jenkins
  • Google Chatbot with Chatbot API configuration
  • ngrok
  • Deploying the node-chat app

    Clone this repository using the following command.

    git clone https://github.com/rajcrk/node-chat-integrator.git

    Change your directory into the newly cloned folder using the command

    cd node-chat-integrator

    Make sure that you have all the neccesary dependency by running the command

    npm install

    Start the application by typing the application by running the command

    npm start

    Exposing the localhost port using ngrok

    Download ngrok and change into the drectory and execute the following command

    ./ngrok http <local-node-app>

    Copy the exposed URL and paste it into the Google Chatbot configuration page as the BOT script. Click save.

    About

    Jenkins Job Deployment Chat bot in Google Chat


    Languages

    Language:TypeScript 100.0%