# Find Project and Database Linked to a Tag Provider in Ignition

**URL:** <https://forum.inductiveautomation.com/t/find-project-and-database-linked-to-a-tag-provider-in-ignition/111920>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [November 4, 2025, 7:55am UTC](https://forum.inductiveautomation.com/t/find-project-and-database-linked-to-a-tag-provider-in-ignition/111920 "2025-11-04T07:55:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ARIFRAHUMAN\_A](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@ARIFRAHUMAN\_A](https://forum.inductiveautomation.com/u/ARIFRAHUMAN_A)\
**Post date:** [November 4, 2025, 7:55am UTC](https://forum.inductiveautomation.com/t/find-project-and-database-linked-to-a-tag-provider-in-ignition/111920/1 "2025-11-04T07:55:48Z")

</div>

Is there any way to get the project name and database based on a tag provider?  
I would like to know which project the tag provider is connected to and which database is configured within that project.  
If anyone has done this previously or has any idea, please share. It would be really helpful for me.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [November 4, 2025, 8:23am UTC](https://forum.inductiveautomation.com/t/find-project-and-database-linked-to-a-tag-provider-in-ignition/111920/2 "2025-11-04T08:23:28Z")

</div>

Tag providers can be used by any project. I assume you want to know which projects have their default tp set to the one you’re looking for?

---

<div class="post-metadata">

**Author:** ![ARIFRAHUMAN\_A](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@ARIFRAHUMAN\_A](https://forum.inductiveautomation.com/u/ARIFRAHUMAN_A)\
**Post date:** [November 4, 2025, 9:35am UTC](https://forum.inductiveautomation.com/t/find-project-and-database-linked-to-a-tag-provider-in-ignition/111920/3 "2025-11-04T09:35:32Z")

</div>

Right now, I only know the tag provider name.  
I’m trying to find out **which project has this tag provider set as its default**.  
After identifying the project, I also need to check **which database that project is configured to use**.

Is there any method or best practice to map this relationship?

**Tag Provider → Project → Database**

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 4, 2025, 12:47pm UTC](https://forum.inductiveautomation.com/t/find-project-and-database-linked-to-a-tag-provider-in-ignition/111920/4 "2025-11-04T12:47:49Z")

</div>

Not in any supported way. But with a gateway context, you can use [.getProjectManager()](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.47/com/inductiveautomation/ignition/gateway/model/GatewayContext.html#getProjectManager()) to retrieve the `ProjectManager`.

From that and its superclass, you can get project properties, which include the items of interest.

Be aware that many projects can use the same tag providers, whether as defaults or explicitly in tag bindings or scripts. The "relationship" you are targeting is vague and certainly not enforced.

Why do you need this?
