# Accessing variables in a connector

**URL:** <https://meta.discourse.org/t/accessing-variables-in-a-connector/141747>\
**Category:** Development\
**Created:** [16 בפברואר,‏ 2020,‏ 4:40pm UTC](https://meta.discourse.org/t/accessing-variables-in-a-connector/141747 "2020-02-16T16:40:05Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [18 בפברואר,‏ 2020,‏ 10:41am UTC](https://meta.discourse.org/t/accessing-variables-in-a-connector/141747/8 "2020-02-18T10:41:17Z")

</div>

Sorry jay a bit tied up but what you can do is simply connect to your component in the hbs file within the connector hbs eg:

`{{my-component}}`

(add arguments as required)

It will then go looking for `my-component.hbs` in `templates/components` and `/components`

Alternately you should be able to set the property in the js file within the connector directory, but for my style I prefer the former approach.

---

_[View the full topic](https://meta.discourse.org/t/accessing-variables-in-a-connector/141747)._
