diff --git a/modules/hello-world/pages/start-using-sdk.adoc b/modules/hello-world/pages/start-using-sdk.adoc index f1c7906e..fc52b3c3 100644 --- a/modules/hello-world/pages/start-using-sdk.adoc +++ b/modules/hello-world/pages/start-using-sdk.adoc @@ -109,19 +109,32 @@ If you want to copy and paste to run the full example, here it is: [{tabs}] ==== -Local Couchbase Server:: +Couchbase Playground:: + -- +Run this example right here in your browser. + +[source.try-it,java] +---- +include::example$StartUsing.java[tags=**] +---- +-- + +Local Couchbase Server:: ++ +-- +Copy and run this example into your local environment. Note that Couchbase Server and SDK must be installed and running before executing this example. + [source,java] ---- include::example$StartUsing.java[tags=**] ---- -- -Couchbase Cloud Sample:: +Couchbase Cloud:: + -- -If you are connecting to https://docs.couchbase.com/cloud/index.html[Couchbase Cloud], be sure to get the correct endpoint as well as user, password, and `couchbasecloudbucket` -- and see the <>, below. +To connect to https://docs.couchbase.com/cloud/index.html[Couchbase Cloud], replace the variables in this example with the correct endpoint as well as user, password, and `couchbasecloudbucket` for your account. Also see the <> below for additional details. [source,java] ----