Skip to main content
Community site session details

Community site session details

Session Id : x9sLN0zN6uFOlvL+SuDCMQ
Copilot Studio - General
Suggested answer

How do I add index.html to a customer facing website?

Like (0) ShareShare
ReportReport
Posted on 14 Jan 2025 21:02:29 by 2
I customized look and feel of my chatbot using default canvas. I followed below link for same and created an index.html file,
 
 
It works fine as per our need, but I am confused about how to put this code securely to a customer facing public website. 
I think I cannot use the index.html file/code as is especially with the tokenEndpointURL hardcoded to it. 
 
What is the correct and secure way of deploying this code to a third part website?
Categories:
  • Suggested answer
    Artur Stepniak Profile Picture
    1,526 Super User 2025 Season 1 on 15 Jan 2025 at 10:10:13
    How do I add index.html to a customer facing website?
    Hello,
     
    the best way would be to store it in environment variable, that's how usually secrets are maintained. You can also use Azure Key Vault and retrieve it from here.
     
    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.
     
    Best regards,
     
    Artur Stepniak
    Interested in GenAI? Visit my site!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 1

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75

Loading complete