# Usage of 'through' in belongs to many association

**URL:** <https://discourse.cakephp.org/t/usage-of-through-in-belongs-to-many-association/2674>\
**Category:** Need Help\
**Created:** [June 6, 2017, 6:48am UTC](https://discourse.cakephp.org/t/usage-of-through-in-belongs-to-many-association/2674 "2017-06-06T06:48:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arvindh\_s](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@arvindh\_s](https://discourse.cakephp.org/u/arvindh_s)\
**Post date:** [June 6, 2017, 6:48am UTC](https://discourse.cakephp.org/t/usage-of-through-in-belongs-to-many-association/2674/1 "2017-06-06T06:48:27Z")

</div>

Hi, I would like to know the usage of through in belongs to many association. What is the difference between joinTable and through in belongsToMany association. I am unable to understand the example in document.

---

<div class="post-metadata">

**Author:** ![joris](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/joris/32/338_2.png) [@joris](https://discourse.cakephp.org/u/joris)\
**Post date:** [June 12, 2017, 1:05pm UTC](https://discourse.cakephp.org/t/usage-of-through-in-belongs-to-many-association/2674/2 "2017-06-12T13:05:52Z")

</div>

I think the documentation is pretty straight forward:

_Allows you to provide a either the name of the Table instance you want used on the join table, or the instance itself. This makes customizing the join table keys possible, and allows you to customize the behavior of the pivot table._
