# Configuring APM to a non web - .NET framework 4.6 project

**URL:** <https://discuss.elastic.co/t/configuring-apm-to-a-non-web-net-framework-4-6-project/219226>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [February 13, 2020, 2:24pm UTC](https://discuss.elastic.co/t/configuring-apm-to-a-non-web-net-framework-4-6-project/219226 "2020-02-13T14:24:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dalena\_nguyen](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@dalena\_nguyen](https://discuss.elastic.co/u/dalena_nguyen)\
**Post date:** [February 13, 2020, 2:24pm UTC](https://discuss.elastic.co/t/configuring-apm-to-a-non-web-net-framework-4-6-project/219226/1 "2020-02-13T14:24:44Z")

</div>

Hello,

I'm trying out Elastic APM and I'm trying to figure out how to configure my code to use my APM server. I didn't find much help from the documentations. I want to configure it to use my server/token I have.

---

<div class="post-metadata">

**Author:** ![GregKalapos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregkalapos/32/37205_2.png) [@GregKalapos](https://discuss.elastic.co/u/GregKalapos)\
**Post date:** [February 13, 2020, 2:27pm UTC](https://discuss.elastic.co/t/configuring-apm-to-a-non-web-net-framework-4-6-project/219226/2 "2020-02-13T14:27:10Z")

</div>

Hi @dalena_nguyen, welcome here!

[This part of the documentation](https://www.elastic.co/guide/en/apm/agent/dotnet/current/configuration-on-asp-net.html) covers exactly your question - at least I feel it does. If not let us know.

Also, in general configuring through environment variables works everywhere - all settings (including their environment variable names) are documented [here](https://www.elastic.co/guide/en/apm/agent/dotnet/current/config-reporter.html#config-server-urls).

Greg

---

<div class="post-metadata">

**Author:** ![dalena\_nguyen](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@dalena\_nguyen](https://discuss.elastic.co/u/dalena_nguyen)\
**Post date:** [February 13, 2020, 2:36pm UTC](https://discuss.elastic.co/t/configuring-apm-to-a-non-web-net-framework-4-6-project/219226/3 "2020-02-13T14:36:41Z")

</div>

I mistakenly read that documentation wrong. It's now hitting my APM server.

Thanks, Greg!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 5, 2020, 10:36am UTC](https://discuss.elastic.co/t/configuring-apm-to-a-non-web-net-framework-4-6-project/219226/4 "2020-03-05T10:36:42Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
