How to connect deployed KoBo form to an existing real-time database to fetch relevant data bases on a common field name and populate some fields in the form automatically?

How to connect deployed KoBo form to an existing real-time database to fetch relevant data bases on a common field name and populate some fields in the form automatically (see attached)?

![column2|690x485]