Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots
Kore.ai's Approach
Kore.ai Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Kore.ai Platform
How to Access Bot Builder
Working with Kore.ai Bot Builder
Building your first Bot
Getting Started with Building Bots
Using the Dialog Builder Tool
Creating a Simple Bot
Release Notes
Latest Updates
Older Releases
Bot Builder
Creating a Bot
Design
Develop
Dialog Task
Working with User Intent Node
Working with the Dialog Node
Working with Entity Node
Supported Entity Types
Working with Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Working with Message Nodes
Working with the Confirmation Nodes
Working with Service Node
Implementing Custom Authentication
Enabling 2-way SSL for Service nodes
Working with Script Node
Working with Agent Transfer Node
Working with WebHook Node
Defining Connections & Transitions
Managing Dialogs
Prompt Editor
Action & Information Task
Working with Action Tasks
Working with Information Tasks
Establishing Flows
Alert Tasks
Working with Alert Tasks
Managing Ignore Words and Field Memory
Knowledge Tasks
Knowledge Ontology
Building Knowledge Graph
Importing and Exporting Bot Ontology
Knowledge Extraction
Natural Language
Overview
Machine Learning
ML Model
Fundamental Meaning
Knowledge Graph Training
Traits
Ranking and Resolver
NLP Detection
NLP Settings and Guidelines
Bot Intelligence
Overview
Context Management
Session and Context Variables
Context Object
Dialog Management
Sub-Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Default Conversations
Default Standard Responses
Channel Enablement
Test & Debug
Talking to Bot
Utterance Testing
Batch Testing
Recording Conversations
Publishing your Bot
Analyzing your Bot
Overview
Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Universal Bots
Defining
Creating
Customizing
Enabling Languages
Smart Bots
Defining
Sample Bots
Github
Asana
Travel Planning
Flight Search
Event Based Bot Actions
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Bot Management
Using Bot Variables
API Guide
API Overview
API List
API Collection
SDKs
SDK Overview
SDK Security
SDK App Registration
Kore.ai Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Web Socket Connect & RTM
Using the BotKit SDK
Installing the BotKit SDK
BotKit SDK Configuration
Events for the BotKit SDK
Functions for the BotKit SDK
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Enrollment
Inviting Users
Sending Bulk Invites to Enroll Users
Importing Users and User Data
Synchronizing Users from Active Directory
Security & Compliance
Overview
Using Single Sign-On
Cloud Connector
Analytics
Billing
How Tos
Context Switching
Using Traits
Live Agent Transfer
Schedule a Smart Alert
Configure Agent Transfer
  1. Home
  2. Docs
  3. Bots
  4. Advanced Topics
  5. Sample Bots
  6. Github Sample Bot

Github Sample Bot

The GitHub Sample bot contains the basic configuration for registering an app with GitHub, generating authentication tokens, and then adding those tokens to the bot in Bot Builder. After configuration, you can test the bot using the Talk to Bot feature to test any of the following configured alerts and actions.

  • Alert Tasks
    • Commit update
    • Issue created
    • Pull Request Notification
  • Action Tasks
    • Create Pull Request
    • Comment Issue
    • Create Issue

Installing the GitHub Sample Bot

The GitHub Sample Bot is only available in Bot Builder and must be added as a new bot. It has a limited design specifically configured to demonstrate certain bot features.

Note: This sample bot is similar but not the same as the built-in bot for GitHub available at the Kore.ai Bot Store.

Step 1: Install the GitHub Sample Bot

  1. To view your sample bots, click the down-arrow next to the  +New Bot and select Install Sample Bots.
  2. Hover over the GitHub Sample bot, and then click the Install button.
  3. On the GitHub Sample page, on the Instructions tab, note the callback URL https://idp.kore.ai/workflows/callback.  You need to paste into your Github App registration later.

Step 2: Register your GitHub App

  1. To register your Github App, log on to GitHub at https://github.com/settings/developers.
  2. Select OAuth applications on the lefthand navigation menu, and then click Register a new application.
  3. In the Application name field, enter the name of your GitHub App, for example, My GitHub App.
  4. Optionally, add a Homepage URL and Application description.
  5. Paste the URL copied from Bot Builder, https://idp.kore.ai/workflows/callback, into the Authorization callback URL field as shown in the following illustration.
  6. Click Register application. The < My GitHub App name > page is displayed as shown in the following illustration with client credentials.
  7. Copy the GitHub Client ID and Client Secret
  8. Go back to the Bot Builder, Sample Bot Installation page.
  9. Copy the above values into the ClientID and ClientSecret fields on the Configuration tab, and click Done.
  10. The GitHub Sample successfully installed message is displayed.

Step 3: Authorize the Bot

  1. From the Bot Builder Home page, select your bot, and then click the Talk to Bot  icon to test the GitHub Sample bot.
  2. A link to authorize Kore.ai to access your GitHub repository is displayed on first use of the bot.
  3. Click the link, and then complete a one-time authorization for the user with GitHub.

Step 4: Customizing the Sample Bot

Try out your bot using Talk to Bot and test all the alerts and actions. Then review the configuration tabs of the bot in Bot Builder:

Bot Tasks – Add or modify tasks. This bot is configured with 3 alert tasks and 3 actions task. You can also add dialog tasks, information tasks, knowledge tasks, and configure flows. Know more

Natural Language – Review and optimize natural language processing and machine language understanding of your bot. Know more.

Channels – Enable this bot for one or more communication channels. This bot is enabled for the Kore channel by default. Know more.

Settings – Edit or define bot settings, such as name, icon, and other settings. Know more.

Publishing – You can publish alert, action, or dialog tasks for Standard Bots for an enterprise or to the Kore.ai Bot Store. For more information, see Publishing Tasks.

Analyze – You can review the full conversation between the Bots Platform and a user using Chat History. For more detail, you can review and analyze both successful, and unsuccessful interactions between a Bot and a user in the Chat Logs section. If necessary, based on the interaction, you can initiate Bot training to better handle future communication transactions. For more information, see Analyzing Your Bot.

Menu