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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Copilot Agent for Cust...
Copilot Studio
Active Discussion

Copilot Agent for Custom Website

(1) ShareShare
ReportReport
Posted on by 4

Hi everyone,

We are currently building a Copilot Studio agent with voice enablement to support multilingual. After some research, I was able to build and host the agent with SSO and voice capabilities using Azure Speech Services.

At present, I’m embedding the chatbot into a custom website using plain JavaScript and hosting it on Azure Static Web Apps. As we move forward, I’m looking for additional documentation, resources, or videos that provide deeper insight and more control over the following areas.


  • Integration and configuration options when embedding a Copilot Studio agent into a custom web application

  • Best practices for voice implementation, especially when using Azure Speech Services

  • Guidance on choosing between Azure Static Web Apps and Azure Web Apps for this scenario, including differences in configuration flexibility, update strategies, security, and integration capabilities

  • Azure Speech Service configurations, such as fine-tuning voices, improving naturalness, making conversations more contextual and conversational, and handling multilingual scenarios effectively


  •  

I’ve already reviewed the available Microsoft documentation, but I’m still struggling to find detailed, end-to-end guidance that covers these aspects—this may simply be due to gaps in my understanding.

Any recommendations, real-world examples, or best practices from the community would be greatly appreciated.

Thank you in advance for your guidance!

  • Nivedipa-MSFT Profile Picture
    Microsoft Employee on at
    Hello ,
    1. Embedding an Agent in a Custom Web App

    Leverage the Bot Framework Web Chat SDK with Direct Line to maintain full control. Always generate tokens server-side to keep secrets secure; never expose them on the client side.

    Docs: Configure web and Direct Line channel security - Microsoft Copilot Studio | Microsoft Learn
    2. Voice Integration Best Practices
    For speech-to-text, use AutoDetectSourceLanguageConfig to support multiple languages. For text-to-speech, apply SSML tags like <prosody>, <break>, and <mstts:express-as> for more natural output. Multilingual neural voices, such as JennyMultilingualNeural, can handle over 100 languages.
    Docs: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/speech-synthesis-markup
    3. Static Web Apps vs App Service
    Choose Azure Web Apps or Static Web Apps with an Azure Functions backend to securely issue Speech and Direct Line tokens. Avoid pure client-side static hosting, as it risks exposing API keys.

    4. Enhancing Voice Naturalness
    Utilize SSML styles (e.g., friendly, empathetic) through <mstts:express-as>, add pauses with <break>, and adjust speech rate or pitch using <prosody>. For brand-specific voices, consider Custom Neural Voice.
    Docs: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/custom-neural-voice

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard