> For the complete documentation index, see [llms.txt](https://docs.snyk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snyk.io/developer-tools/snyk-api/using-specific-snyk-apis/webhooks-apis/guides-to-webhooks/how-to-use-snyk-webhooks-to-integrate-new-relic-with-snyk/configure-azure-function-environment-variables.md).

# Configure Azure Function environment variables

For more information about configuration of Azure Function environment variables, see the Microsoft Azure Functions documentation article [Manage your function app](https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-use-azure-function-app-settings?tabs=portal).

Navigate to your Azure Function App Configuration and add the following new application settings:

* **NEW\_RELIC\_SECURITY\_URL**: URL for the New Relic Security API, that is, <https://security-api.newrelic.com/security/v1>
* **NEW\_RELIC\_LICENSE\_KEY**: New Relic License Key

If you are using Azure DevOps Repos in your Snyk account, you may also want to configure the following application setting:

* **AZURE\_DEVOPS\_ORG**: the name of your Azure DevOps organization

If you want to use the optional parameters for troubleshooting in a separate New Relic event, configure the following application settings:

* **NEW\_RELIC\_INSIGHTS\_URL**: URL for the New Relic account event API, that is, <https://insights-collector.newrelic.com/v1/accounts/{NR-ACCOUNT-ID}/events>

<figure><img src="/files/2Z4dd46pEB6MKJ4iKErZ" alt="Azure Function Configuration"><figcaption><p>Azure Function Configuration</p></figcaption></figure>

Next [Copy the Azure Function URL](/developer-tools/snyk-api/using-specific-snyk-apis/webhooks-apis/guides-to-webhooks/how-to-use-snyk-webhooks-to-integrate-new-relic-with-snyk/copy-the-azure-function-url.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.snyk.io/developer-tools/snyk-api/using-specific-snyk-apis/webhooks-apis/guides-to-webhooks/how-to-use-snyk-webhooks-to-integrate-new-relic-with-snyk/configure-azure-function-environment-variables.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
