--- title: Locate and copy the Direct Line secret key in Microsoft Power Virtual Agents description: 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. locale: en-US canonical_url: https://www.servicenow.com/docs/r/conversational-interfaces/get-dl-secret-key-mspva.html release: brazil topic_type: task last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Using Microsoft Power Virtual Agents as a secondary bot, Virtual Agent Bot Interconnect, Conversational Interfaces] --- # Locate and copy the Direct Line secret key in Microsoft Power Virtual Agents 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://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/conversational-interfaces/create-js-function-azure-mspv-sec-bot.md). Role required: admin ## Procedure 1. Log into your Microsoft Power Virtual Agents account. 2. Navigate to **Manage** > **Security**. 3. Click the **Web channel security** tile. 4. In the popover window, click **Copy** under **Secret 1**. \[Omitted image "ms-pva-web-channel-security-secret.png"\] Alt text: The Direct Line secret keys are listed in Web channel security. Click Copy to copy it to the clipboard.