Skip to content

web-illinois/chatbot-copilot-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatbot-copilot-client

Contains template code that can be added to a website to integrate with Copilot Studio. University branded and vetted for accessibility.

This was generated as part of the IT ProForum 2026 presentation. Links are at:

Files

  • index.html: template that has the chatbot information
  • chatbot.js: JavaScript that contains chatbot connection information
  • chatbot.css: CSS style that contains chatbot styling
  • bot.png, user.png: sample graphic files to show up in the chatbot

index.html needs to have the following:

    <script>
      generateEndpoint(' ** token endpoint here ** ');
      generateBotAndUserImages(' ** bot image here ** ', ' ** user image here ** ');
    </script>

You get the endpoint by going to Copilot Studio Agent and choosing Channels --> Email. Copy the token endpoint for this.

Screenshot of the email section of the Copilot Studio

Resources

Activation

You can start the chatbot by calling showChat() on a button click. Note that when this starts, it will use a Copilot Credit, so only do this when the user wants to intiate a chat. Do not run this on window.load().

Copilot Licensing Links:

About

Contains template code that can be added to a website to integrate with Copilot Studio. University branded and vetted for accessibility.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors