Grant,
I've attached the BCI.DEMO routine for you to take a look at, which should help you to understand in how to put the program together.
There are also over 20 knowledge base articles covering BCI in our knowledge base, which you can access from the community portal once you are logged into myrocketsoftware.com, you do need a support contract or permission from your support provider to access the portal.
@Paul Chang also has an excellent YouTube channel covering lots of subjects around our client connectivity and is well worth a look.
Regards,