# Link two collections automatically

**URL:** <https://forum.adalo.com/t/link-two-collections-automatically/66490>\
**Category:** Database\
**Created:** [May 6, 2026, 11:50am UTC](https://forum.adalo.com/t/link-two-collections-automatically/66490 "2026-05-06T11:50:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Ali-Bazzi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ali-bazzi/32/40359_2.png) [@Ali-Bazzi](https://forum.adalo.com/u/Ali-Bazzi)\
**Post date:** [May 6, 2026, 5:40pm UTC](https://forum.adalo.com/t/link-two-collections-automatically/66490/2 "2026-05-06T17:40:54Z")

</div>

Hey @Caroline422, this is how relationships work, when you want two collections to be linked, you need to add a “Relationship” property to one of the collections in the database. This connects the two collections together.

Then on the screen where a record gets created, you add an action or automatic field (if you’re using a form) to link collections together. This links the two records together at the moment the form is submitted, automatically.

After doing this setup, every new record created through that form will be linked automatically.

Two articles that might help:

How to set up relationships: [From Structure to Connections: Setting Up Effective Relationships in Adalo](http://forum.adalo.com/t/from-structure-to-connections-setting-up-effective-relationships-in-adalo/59952)

Real-world example: [How to Build a Marketplace App in Adalo: The Complete Database Structure](http://forum.adalo.com/t/how-to-build-a-marketplace-app-in-adalo-the-complete-database-structure/66440)

If you share which two collections you are trying to link and what triggers the connection, I can give you the exact steps.

Ali Bazzi — Adalo Expert | [adalo.com/experts/ali-bazzi](https://adalo.com/experts/ali-bazzi)

---

_[View the full topic](https://forum.adalo.com/t/link-two-collections-automatically/66490)._
