Connect Your SDK
SDKs enable you to connect client code in popular languages to Capella.
After you sign up for a Capella Database, get started with connecting an app.
SDKs
For more information on the SDKs and where to find their respective documentation, see Choose Your Language.
Connecting your SDK to Capella
The SDK Compatibility page lists the minimum supported SDK versions. Couchbase recommends using the latest version of your chosen SDK, as it contains bug fixes and feature enhancements.
The Getting Started page for each SDK features a Hello World program to show you how to connect to a Capella database. The Getting Started pages also cover installing the SDK, and link to pages with further platform information. For links to each SDK, see Choose Your Language.
See the Connect section of the Capella UI for the connection string to use in your SDK code.
Choose Your Language
Couchbase has SDKs in ten popular programming languages:
SDK | Documentation | API Reference |
---|---|---|
Java SDK |
||
Kotlin SDK |
||
Scala SDK |
||
.NET SDK |
||
C SDK |
||
Node.js SDK |
||
PHP SDK |
||
Python SDK |
||
Ruby SDK |
||
Go SDK |
We generally recommend using the latest version of your chosen SDK for the best compatibility with the latest Capella features.
Connection Troubleshooting
The documentation for each SDK provides guidance for working around problems that may arise in development, when your development laptop is most likely not in the same cloud provider Availability Zone as your database — something not supported in a production environment, but often found in evaluation and early stages of development. For example, see Working in the Cloud in the Java SDK documentation. The documentation for each supported language links to client settings options, and to troubleshooting tools.
Security Certificate
Recent versions of the SDK (except the C SDK) — since API version 3.2 — ship with the client certificate for Capella, which enables an easy connection.
You can download a copy of the client certificate from the Capella UI, under
.Mobile Apps and SDKs
Couchbase Lite SDKs connect edge devices to App Services — and are also ideal for building a stateless frontend web app connected to Capella.
SDK | Documentation | API Reference |
---|---|---|
Couchbase Lite Java Android |
||
Couchbase Lite C# |
||
Couchbase Lite Java |
||
Couchbase Lite Objective-C |
||
Couchbase Lite Swift |
||
Couchbase Lite JavaScript |
Other Ways of Connecting
You can also also connect to Capella using the Couchbase Command Line Tools.
Next Steps
-
Work with our Public API.