Data source

How can I use data source to connect two apps

Have a look at this thread. The recommended approach is to build one app first and then to duplicate that app while keeping the same source in the process.