If this is B1 visa you are talking about, then it does not allow you to exchange your services for compensation.
The only B1 traveling purpose that might fit you, in theory, is "training" where you are reimbursed for your living expenses, so you might look into that.
https://travel.state.gov/content/dam/visas/BusinessVisa%20Pu...