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
1. Ensure you've completed the prerequisites and setup steps in the [quickstart](../../quickstart.md).
@@ -127,11 +127,29 @@ To set up authenticating with Managed Identity:
127
127
128
128
1. Click **Finish**.
129
129
130
-
1. Once the setup is done, you can continue by using the tool through the SDK or REST API. Use the tabs at the top of this article to see code samples.
130
+
1. Once the setup is done, you can continue by using the tool through the Foundry Portal, SDK or REST API. Use the tabs at the top of this article to see code samples.
131
+
132
+
## Add OpenAPI Spec tool in Foundry Portal
133
+
1. Click the agent in Agent Playground you want to edit
1. Click Next and select the authentication method. Choose `connection` for `API key`.
144
+
1. If you choose `connection`, you need to select the custom keys connection you have created before.
145
+
1. If you choose `managed identity`, you need to input the audience to get your token. An example of audience would be "https://cognitiveservices.azure.com/" to connect to Azure AI Services. Please make sure you have already set up authentication and role assignment (in section above)
146
+
147
+
1. Copy and paste your OpenAPI specification in the text below.
148
+
149
+
1. Review and add the tool to your agent.
131
150
132
151
::: zone-end
133
152
134
-
135
153
::: zone pivot="code-example"
136
154
## Step 1: Create a project client
137
155
Create a client object, which will contain the connection string for connecting to your AI project and other resources.
0 commit comments