Hi,
So you have many ways to create buckets:
- Using the Web Console
- All the operation you do in the Web Console are available as REST API, documentation of this API is available here
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-resta… - You can do this using the ClusterManager class in Java. Take a look to this test that is a good starting point for this:
https://github.com/couchbase/couchbase-java-client/blob/master/src/test/…
Regards