# How to create a enterprise connection with realms, button display name and button logo url via API

**URL:** <https://community.auth0.com/t/how-to-create-a-enterprise-connection-with-realms-button-display-name-and-button-logo-url-via-api/56805>\
**Category:** Get Help\
**Tags:** management-api, auth0\
**Created:** [January 26, 2021, 10:13am UTC](https://community.auth0.com/t/how-to-create-a-enterprise-connection-with-realms-button-display-name-and-button-logo-url-via-api/56805 "2021-01-26T10:13:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinicius.palma](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vinicius.palma/32/26006_2.png) [@vinicius.palma](https://community.auth0.com/u/vinicius.palma)\
**Post date:** [January 26, 2021, 10:13am UTC](https://community.auth0.com/t/how-to-create-a-enterprise-connection-with-realms-button-display-name-and-button-logo-url-via-api/56805/1 "2021-01-26T10:13:20Z")

</div>

Hi y’all,

I’ve being trying to use the management API wrapper provided by node-auth0 npm package to create an enterprise connections with the domains and the display\_name that is displayed on the login page. On the documentation it say that the display\_name parameter should be send on the body of the request but the typescript method give a error on this particular property:

```
(property) display_name: string Object literal may only specify known properties, and 'display_name' does not exist in type 'CreateConnection'.ts(2345)

```

This is a documentation issue or a problem on the npm package?

Best,  
Vini

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [January 26, 2021, 3:12pm UTC](https://community.auth0.com/t/how-to-create-a-enterprise-connection-with-realms-button-display-name-and-button-logo-url-via-api/56805/3 "2021-01-26T15:12:37Z")

</div>

Hi @vinicius.palma,

Welcome to the Community!

I was able to create a connection using the `node-auth0` npm package using the `createConnection` method and pass the `display_name` property. docs: [https://auth0.github.io/node-auth0/module-management.ManagementClient.html#createConnection](https://auth0.github.io/node-auth0/module-management.ManagementClient.html#createConnection)

```auto
    function createConnection(data, clientId = null) {
        return this.managementClient.createConnection(data)
            .then(connection => connection)
            .catch(err => err);;
    }

```

Which method are you using to create the connection?

Thanks,

Stephanie

---

<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:** [February 10, 2021, 3:12pm UTC](https://community.auth0.com/t/how-to-create-a-enterprise-connection-with-realms-button-display-name-and-button-logo-url-via-api/56805/4 "2021-02-10T15:12:46Z")

</div>

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