# Integration of MongoDB configured Kubernetes

**URL:** <https://community.dynatrace.com/t/integration-of-mongodb-configured-kubernetes/46749>\
**Category:** Extensions\
**Tags:** mongodb, kubernetes\
**Created:** [July 22, 2024, 8:39pm UTC](https://community.dynatrace.com/t/integration-of-mongodb-configured-kubernetes/46749 "2024-07-22T20:39:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsagredo](https://avatars.discourse-cdn.com/v4/letter/t/838e76/32.png) [@tsagredo](https://community.dynatrace.com/u/tsagredo)\
**Post date:** [July 22, 2024, 8:39pm UTC](https://community.dynatrace.com/t/integration-of-mongodb-configured-kubernetes/46749/1 "2024-07-22T20:39:39Z")

</div>

Hello everyone, I need help to be able to integrate the mongoBD extension through activegate. This database is configured in Kubernetes.  
What should I enter in the “Hostname” field? It will be the instance where the database is configured.

 ![tsagredo_0-1721680657234.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/b/1b0d523e8ae4cf7b599928b04bd8bac65dc7093d.png)

---

<div class="post-metadata">

**Author:** ![DavidMass](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/davidmass/32/9065_2.png) [@DavidMass](https://community.dynatrace.com/u/DavidMass)\
**Post date:** [July 22, 2024, 8:48pm UTC](https://community.dynatrace.com/t/integration-of-mongodb-configured-kubernetes/46749/2 "2024-07-22T20:48:08Z")

</div>

Hi&nbsp;[@tsagredo](https://community.dynatrace.com/user/23764)&nbsp;,&nbsp;  
That “hostname” in the configuration will be the IP address or FQDN that the Environment ActiveGate can use to connect to the MongoDB instance. My guess is that you have a K8s service to allow outside applications to connect into your DB, it would be that. If you don’t, you’ll need to set up a way to allow your ActiveGate (running outside of K8s) to connect to your DB (inside K8s).&nbsp;  
Thanks!
