# Creating associations in hubspot-api-nodejs new version

**URL:** <https://community.hubspot.com/t/creating-associations-in-hubspot-api-nodejs-new-version/82703>\
**Category:** APIs & Integrations\
**Tags:** sdk\
**Created:** [June 6, 2023, 1:27am UTC](https://community.hubspot.com/t/creating-associations-in-hubspot-api-nodejs-new-version/82703 "2023-06-06T01:27:49Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![DFall9](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@DFall9](https://community.hubspot.com/u/DFall9)\
**Post date:** [September 15, 2023, 3:14am UTC](https://community.hubspot.com/t/creating-associations-in-hubspot-api-nodejs-new-version/82703/4 "2023-09-15T03:14:24Z")

</div>

Using client v9.1.1

```lia-code-sample
client.crm.associations.v4.schema.definitionsApi.create('contact', 'company', {
 name: 'MyName',
 label: 'MyLabel'
 })

```

---

_[View the full topic](https://community.hubspot.com/t/creating-associations-in-hubspot-api-nodejs-new-version/82703)._
