# Enable Application Connections

**URL:** <https://community.auth0.com/t/enable-application-connections/73960>\
**Category:** Get Help\
**Tags:** terraform, connections, auth0\
**Created:** [November 30, 2021, 6:46am UTC](https://community.auth0.com/t/enable-application-connections/73960 "2021-11-30T06:46:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![prathod](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prathod/32/13390_2.png) [@prathod](https://community.auth0.com/u/prathod)\
**Post date:** [November 30, 2021, 6:46am UTC](https://community.auth0.com/t/enable-application-connections/73960/1 "2021-11-30T06:46:23Z")

</div>

Enable Application Connections.  
found one major issue while creating multiple applications it enables all connections and that is the default behaviour of Auth0.  
the problem was solved following this [Application Connections](https://community.auth0.com/t/application-connections/42377)  
Now wants to disable this feature from terraform.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [November 30, 2021, 7:22pm UTC](https://community.auth0.com/t/enable-application-connections/73960/3 "2021-11-30T19:22:29Z")

</div>

Hi @prathod,

Thanks for reaching out to the Auth0 Community!

I understand that you’ve observed a specific behavior when creating applications that enable all the database connections by default. Toggling the `Enable Application Connections` in your Tenant Advanced Settings will allow you to change this behavior as you have found.

Now, to disable this feature using terraform you’ll need to do something like the following:

```auto
resource "auth0_tenant" "tenant" {
   // redacted for brevity
   flags{
       enable_client_connections = false
   }
}

```

After doing so, new applications that a created will not enable all the current connections.

You may find the auth0 tenant Terraform docs useful: [Terraform Registry](https://registry.terraform.io/providers/alexkappa/auth0/latest/docs/resources/tenant#flags)

Please let me know if you have any further questions.

Thank you.

---

<div class="post-metadata">

**Author:** ![prathod](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prathod/32/13390_2.png) [@prathod](https://community.auth0.com/u/prathod)\
**Post date:** [December 1, 2021, 6:59am UTC](https://community.auth0.com/t/enable-application-connections/73960/4 "2021-12-01T06:59:39Z")

</div>

Hi @rueben.tiow thank you for your response yes i have implemented this resource and works fine and also i got my error resolve for applications making connections and every time showing changes on adding new application on **terraform plan**.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [December 1, 2021, 7:15pm UTC](https://community.auth0.com/t/enable-application-connections/73960/5 "2021-12-01T19:15:01Z")

</div>

Hi @prathod,

That sounds great, I’m happy to hear that it works now.

Please let me know if there’s anything else I can do to help.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 16, 2021, 7:15pm UTC](https://community.auth0.com/t/enable-application-connections/73960/6 "2021-12-16T19:15:42Z")

</div>

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