Skip to main content
Data Science & AI Workbench enables you to connect to a Couchbase NoSQL database from within your notebook sessions. To do so, you’ll need to do the following to install the essential elements required to connect to a Couchbase server:
  1. Download the release RPM from Couchbase to set up the Couchbase repository:
  1. Install the RPM using yum:
  1. Install the packages required to install the pip package:
  1. Install the pip package:
Any packages you install from the command line are available during the current session only. If you want them to persist, add them to the project’s anaconda-project.yml file. For more information, see Project configurations.
You can then use code such as this to import the modules and connect to Couchbase from within a notebook session: