Explore the SDK Playground

  • tutorial
    +
    Use the SDK Playground to learn more about Couchbase’s SDKs and SQL++.

    The SDK Playground gives you interactive tutorials that let you try out Couchbase SDK and SQL++ code examples inside the Couchbase Capella UI.

    If you want to disable the SDK Playground:

    1. To return to your organization, click the Couchbase Capella logo.

    2. On the Databases tab, select the database where you want to disable the SDK Playground.

    3. Go to Settings  General.

    4. Under Playground, select Disable Playground.

    5. Click Save.

    To use the SDK Playground:

    1. From the Start page, click Playground.

    2. Do any of the following:

      1. To change the bucket targeted by the SDK Playground examples, in the Bucket list, select a bucket.

      2. To change the scope targeted by the SDK Playground examples, in the Scope list, select a scope.

      3. To change the programming language for the generated code samples, above the example code, select the Node.js, Python, .NET, or Java tab.

      4. To view the full example code for an example, select the Full Code tab.

      5. To run the example code in the SDK Playground, click Run.

        The SDK Playground returns a response to the code in the Response field.

      6. To go to the next part of the tutorial, click Next.

      7. To return to a previous tutorial, click Previous.

      8. To go to a specific tutorial, in the Jump to Example list, select a tutorial.

    Next Steps

    If you want to connect to your database:

    1. Generate database credentials to securely connect and control access to your database. For more information, see Configure Database Credentials

    2. Add your current IP address as an allowed IP for your database. For more information, see Configure Allowed IP Addresses

    3. Choose and install a Couchbase SDK

    4. (Optional) Download the security certificate for your database and add it to your application’s server machine or IDE:

      1. From the Start page, go to Settings  Security Certificate.

      2. Click Download.