How to implement/add ulpm interface using legato studio?

hi everyone, i am new to legato.
i have searched and found there is little document about how you can add interface to a existed project.( For some obvious reason i can’t ask the last developer.)

should add new component? how does it work?

In your Component.cdef file you should see a section (if not add it)
requires:
{
api:
{
le_ulpm_interface.h //add the api file here.
}
}

Then you just need to import/include (depending on your language) it into the code you need it in and then you can start calling the functions.