See the Getting Started section of the HBase Book.
For sample Java code, see org.apache.hadoop.hbase.client documentation.
If your client is NOT Java, consider the Thrift or REST libraries.