# How to add grafana proxy to my external URI?

**URL:** <https://community.grafana.com/t/how-to-add-grafana-proxy-to-my-external-uri/48139>\
**Category:** Grafana Plugin Development\
**Tags:** plugins\
**Created:** [May 27, 2021, 4:50pm UTC](https://community.grafana.com/t/how-to-add-grafana-proxy-to-my-external-uri/48139 "2021-05-27T16:50:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fekkydev](https://avatars.discourse-cdn.com/v4/letter/f/ba9def/32.png) [@fekkydev](https://community.grafana.com/u/fekkydev)\
**Post date:** [May 27, 2021, 4:50pm UTC](https://community.grafana.com/t/how-to-add-grafana-proxy-to-my-external-uri/48139/1 "2021-05-27T16:50:51Z")

</div>

As i’m new to grafana plugin developmenet.  
I’m developing datasource plugin, when hit my external URI i’m getting 404 and CROS issues. But when i use DataSourceHttpSettings componenet i can able to access my url.  
My question how to add proxy without DataSourceHttpSettings.  
Please help to find this issue.

---

<div class="post-metadata">

**Author:** ![marcusolsson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/marcusolsson/32/7922_2.png) [@marcusolsson](https://community.grafana.com/u/marcusolsson)\
**Post date:** [May 27, 2021, 5:02pm UTC](https://community.grafana.com/t/how-to-add-grafana-proxy-to-my-external-uri/48139/2 "2021-05-27T17:02:11Z")

</div>

The proxy uses the `instanceSettings.url` property, so you should be able to set it manually. Haven’t tried this myself though.

(Note that it’s `instanceSettings.url`, and not `instanceSettings.jsonData.url`)

---

<div class="post-metadata">

**Author:** ![fekkydev](https://avatars.discourse-cdn.com/v4/letter/f/ba9def/32.png) [@fekkydev](https://community.grafana.com/u/fekkydev)\
**Post date:** [May 31, 2021, 4:38am UTC](https://community.grafana.com/t/how-to-add-grafana-proxy-to-my-external-uri/48139/3 "2021-05-31T04:38:02Z")

</div>

Thank you Marcusolsson, should i add the instanceSetting.url+myExternalAPI.  
it will be good if you proivde an example.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [May 31, 2022, 4:39am UTC](https://community.grafana.com/t/how-to-add-grafana-proxy-to-my-external-uri/48139/4 "2022-05-31T04:39:04Z")

</div>

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