You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/agents/includes/quickstart-javascript.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ author: aahill
4
4
ms.author: aahi
5
5
ms.service: azure-ai-agent-service
6
6
ms.topic: include
7
-
ms.date: 01/28/2025
7
+
ms.date: 02/03/2025
8
8
ms.custom: devx-track-js
9
9
---
10
10
@@ -38,6 +38,12 @@ npm install @azure/ai-projects
38
38
npm install @azure/identity
39
39
```
40
40
41
+
Next, to authenticate your API requests and run the program, use the [az login](/cli/azure/authenticate-azure-cli-interactively) command to sign into your Azure subscription.
42
+
43
+
```azurecli
44
+
az login
45
+
```
46
+
41
47
Use the following code to create and run an agent. To run this code, you will need to create a connection string using information from your project. This string is in the format:
Copy file name to clipboardExpand all lines: articles/ai-services/agents/includes/quickstart-typescript.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ author: aahill
4
4
ms.author: aahi
5
5
ms.service: azure-ai-agent-service
6
6
ms.topic: include
7
-
ms.date: 01/28/2025
7
+
ms.date: 02/03/2025
8
8
ms.custom: devx-track-ts
9
9
---
10
10
@@ -39,6 +39,12 @@ npm install @azure/ai-projects
39
39
npm install @azure/identity
40
40
```
41
41
42
+
Next, to authenticate your API requests and run the program, use the [az login](/cli/azure/authenticate-azure-cli-interactively) command to sign into your Azure subscription.
43
+
44
+
```azurecli
45
+
az login
46
+
```
47
+
42
48
Use the following code to create and run an agent. To run this code, you will need to create a connection string using information from your project. This string is in the format:
0 commit comments