Perform the following steps:
- Navigate to Application Insights's Overview blade, as shown, and copy the Instrumentation Key. We will be using the Instrumentation Key to create an application setting named AI_IKEY in the function app:

- Navigate to the API Access blade and copy the Application ID. We will be using this Application ID to create a new app setting with the name AI_APP_ID in the function app:

- We also need to create a new API key. As shown in the preceding step, click on the Create API key button to generate the new API key, as shown in the following screenshot. Provide a meaningful name, check the Read telemetry data, and click on Generate key:

- Soon after, you can view and copy the key, as shown in the following screenshot. We will be using this to create a new app setting with the name AI_APP_KEY in our function app:

- Create all three app setting keys in the function app, as shown in the following screenshot. These three keys will be used in our Azure Function named FeedAIwithCustomDerivedMetric.
