.
Create a new Adapter with worklight adapter wizard
Open the adapter-impl.js file to add your implementation of server side js. Each procedure should have one corresponding javascript function implemented.
BTT have pre-define one generic Adapter named Operation Adapter for invoking BTT operation in worklight project. Developer can just copy this Adapter can deploy on worklight server directly.