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
Storyboard
Dialog Task
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Message Nodes
Confirmation Nodes
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Connections & Transitions
Managing Dialogs
Prompt Editor
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
Digital Views
Knowledge Graph
Terminology
Building
Generation
Importing and Exporting
Analysis
Knowledge Extraction
Small Talk
Action & Information Task
Action Tasks
Information Tasks
Establishing Flows
Natural Language
Overview
Machine Learning
ML Model
Fundamental Meaning
NLP Settings and Guidelines
Knowledge Graph Training
Traits
Ranking and Resolver
NLP Detection
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
Talk to Bot
Utterance Testing
Batch Testing
Record Conversations
Publishing your Bot
Analyzing your Bot
Overview
Dashboard
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
koreUtil Libraries
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
Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Widget SDK Tutorial
Widget SDK – Message Formatting and Templates
Web Socket Connect & RTM
Using the BotKit SDK
Installing
Configuring
Events
Functions
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
Dashboard
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Enrollment
Inviting Users
Bulk Invites
Importing Users
Synchronizing Users from AD
Security & Compliance
Using Single Sign-On
Security Settings
Cloud Connector
Analytics
Billing
How Tos
Creating a Simple Bot
Creating a Banking Bot
Transfer Funds Task
Update Balance Task
Context Switching
Using Traits
Schedule a Smart Alert
Configuring Digital Views
Custom Dashboard
Custom Tags to filter Bot Metrics
Patterns for Intents & Entities
Build Knowledge Graph
Global Variables
Content Variables
Using Bot Functions
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