olark.configure('system.group', string );

Notes

Set the group before the chatbox loads. You can get the ID for each group by clicking on it from the Operator settings page.

This differs from the setOperatorGroup API call in that it can only be done before the chatbox loads. To set the operator group after the chatbox has loaded, use setOperatorGroup instead.