web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Building a copilot stu...
Copilot Studio
Unanswered

Building a copilot studio chatbot agent for public website

(2) ShareShare
ReportReport
Posted on by 65
Hi One of our clients (financial organization) has a public facing website, that has a chatbot (virtual agent assistant). 
 
The client already have a Virtual assistant chat on the website (Similar to what we see on airlines website). Thats not really helping them answer queries accurately.
 
They would like to build a AI based chatbot (Agent) solution that provides more accurate answers. I know the answer for this could be building an agent via copilot studio (with genrative AI).  I have also recently built a Generative AI based copilot studio connected to a SharePoint intranet site, and Its working great.  But their requirement is to build a solution for their public website (not internal).
 
However my questions are :

1. First of all, is it possible to build a Chatbot agent using Copilot Studio, for a public facing website? 
2. If so, Is it possible to embed this agent into their public website? If so how?
3. how does the agent distinguish between an internal person using the chatbot, versus a external user asking questions in the chatbot?

Here is the copilot studio chatbot i have created, with data (knowledge) source as the SharePoint intranet site. This works well with the sharepoint intranet. But I am unable to find the option (under "channels" where I can publish an agent to a public website (I only see a demo website option)

 
Categories:
I have the same question (1)
  • Michael E. Gernaey Profile Picture
    53,047 Super User 2025 Season 2 on at
     
    Please see my answers inline
     
    1. First of all, is it possible to build a Chatbot agent using Copilot Studio, for a public facing website? 
    --Yes it is, but you have to turn off Authentication, well.. ok thats not completely true, but you said Public Facing which to me means Anonymous so yes, turn off authentication to publish it there,. In the Publish Tab of your Agent, is a Demo Public site you can publish too for demonstration and testing purposes

    2. If so, Is it possible to embed this agent into their public website? If so how?
    --You generate an embed code, and use that to embed and publish. Like with other embeddable things, its the same
     
    3. how does the agent distinguish between an internal person using the chatbot, versus a external user asking questions in the chatbot?
    --It does not. If you have an anonymous agent, it does not get your email address or user names or anything, its all anonymous. Technically you could use IP addresses as a way, if the customer has a specific set of IP ranges, but by default there is no way for it to no because.,. well,.. its anonymous
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
     
  • SPUser1980 Profile Picture
    65 on at
    Hi

    Thanks a ton for your reply. 
     
    Just one more follow up question. You mentioned that for a chatbot to be deployed to a public website, i can turn off (or manual authentication). That part is clear to me.

    However why am i not seeing an option to deploy a chatbot to a public website ? The "Demo" Website option is only a "Demo" website and not an actual website.  Lets say I develop a chatbot in copilot studio, which I want to deploy to an actual website, where is that option under "channels" in my screenshot?
  • Verified answer
    Arild Aarnes Profile Picture
    342 on at
    Hi,
     
    There are some information about how to change the look and feel of the chatbot when using it on a public facing website. Customize the look and feel of an agent - Microsoft Copilot Studio | Microsoft Learn
     
    There is no publishing channel dedicated to public websites. The information in the article describes how to use the token from the email channel in the example.
     
    You can also use the Webchat Playground in the Copilot Studio kit from the Microsoft Power CAT team to adjust the design and generate the necessary code. Power-CAT-Copilot-Studio-Kit/WEBCHAT_PLAYGROUND.md at main · microsoft/Power-CAT-Copilot-Studio-Kit · GitHub
     
    Regards,
    Arild
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,047 Super User 2025 Season 2 on at
     
    The answer is what I said. If you want to Embed it (Publish it) to a Public website you have to actually grab the Embed Code from the Agent so that you CAN run it in the website.
     
    You cannot publish it there. You publish it so you have it to the right version, then generate your Embed code, then go put an Iframe or other in your public page, and put the embed code there, which just means the URL it gives you.
     
    Then it will load there.
     
  • SPUser1980 Profile Picture
    65 on at
     
    Also is there a way I can build a demo website that I can then use for building a chatbot to embed to?

     am not sure what's the easiest way to build just a sample public website, to test a Copilot studio chatbot on
     
    Vasanth
  • Michael E. Gernaey Profile Picture
    53,047 Super User 2025 Season 2 on at
     
     not sure why you are asking me, i answered your questions completely and got no credit so not really motivated to answer more
  • SPUser1980 Profile Picture
    65 on at
     
    never mind, i think ill just build a sample website using power pages (which my demo tenant has license to), and then that way I can use copilot studio. I understand that copilot studio integrates well with MS power pages. Let me know if you think otherwise
     
    My main goal now was to build a sample demo website (banking domain), as my client is a bank, and they wanted a "show and tell" demo of how copilot studio works with a public website. So i think (Correct me if iam wrong) that best way is I build demo website in pwoer pages and showcaase capablity of copilot studio

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 230 Super User 2025 Season 2

#3
Sam_Fawzi Profile Picture

Sam_Fawzi 84 Super User 2025 Season 2

Last 30 days Overall leaderboard