---
sourceDocument: Yokohama Conversational Interfaces
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/conversational-interfaces

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Conversational Interfaces

ft:clusterId :

    - convint

bundleId :

    - convint

workflow :

    - Platform


---

# Locate and copy the Direct Line secret key in Microsoft Power Virtual Agents

# Locate and copy the Direct Line secret key in Microsoft Power Virtual
Agents {#ariaid-title1}

Release version: Yokohama  
Updated January 30, 2025  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
To use Power Virtual Agents with Virtual Agent
Bot Interconnect, you must locate and copy the Direct Line security key in
your Power Virtual Agents account.

## Before you begin

You must have a Microsoft Power Virtual Agents account with at least
one bot.

[Create a JavaScript function in Microsoft Azure using Visual Studio Code](https://servicenow-prod.fluidtopics.net/EWL45klm6aTPe8XmUkYp4w "To use Power Virtual Agents with Virtual Agent Bot Interconnect, you must create a JavaScript function in Microsoft Azure using the sample code files in Bot Interconnect.").

Role required: admin

## Procedure

1. Log into your Microsoft Power Virtual Agents account.
2. Navigate to ManageSecurity.
3. Click the Web channel security tile.
4. In the popover window, click Copy under Secret 1.  
**Previous topic:** [Create a JavaScript function in Microsoft Azure using Visual Studio Code](https://servicenow-prod.fluidtopics.net/EWL45klm6aTPe8XmUkYp4w "To use Power Virtual Agents with Virtual Agent Bot Interconnect, you must create a JavaScript function in Microsoft Azure using the sample code files in Bot Interconnect.")  
**Next topic:** [Add the Direct Line secret key to your Virtual Agent Bot Interconnect instance](https://servicenow-prod.fluidtopics.net/GsaU8gN8OtWGzFiR9cyWkA "To use Power Virtual Agents with Virtual Agent Bot Interconnect, you must add the Direct Line security key as a credential in your Bot Interconnect instance.")

*[\>]: and then


