How can I add source code in katalon object repository

I’m assuming you got this screen while debugging a script. If that’s the case, you should not worry about “attaching source”. The source code for this plugin probably isn’t public anyway.

Can you clarify what you are ultimately trying to accomplish?