Skip to main content
Couchbase is a NoSQL database management system that is designed for high-performance, scalability, and flexibility. Integrate Couchbase with Prod AI to build applications and other custom internal tools on top of your Couchbase documents.

Setting up Couchbase

Create Cluster Access Credentials

To connect to Couchbase, you’ll need a username and password. For self-managed clusters, refer to Couchbase’s guide on how to Connect a Self-Managed Cluster. For Couchbase Cloud, use the following instructions to create Cluster Access Credentials.
  1. Navigate to your Couchbase Cluster
  2. Click Settings
  3. In the navigation menu, click Cluster Access
  4. Click Create Cluster Access
  5. Specify a cluster access name and secret, these will serve as the username and password when connecting
  6. Specify the buckets and scope the credentials should have access to
  7. Once you have finished making the desired configurations, click Create Cluster Access
Learn more about how to Configure Cluster Access Credentials

Set up allowed IP Addresses

On Dedicated Cloud, add your Prod AI data plane IP addresses as allowed IPs for your cluster. On Managed BYOC, connect over private networking within your AWS account. Learn how in Couchbase’s guide on Configuring Allowed IP Addresses.

Add integration

  1. In the web app, navigate to the Integrations page
  2. Click the Couchbase tile
  3. Name the integration
  4. Fill out the connection configuration as follows:
  1. Optionally, add more configurations to set credentials for different environments
  2. Click Test Connection to check that Prod AI can connect
  3. Click Create

Use Couchbase in APIs

Once your Couchbase integration is created, you can start using Couchbase actions in Prod AI APIs.
Write SQL++ queries to issue queries to Couchbase.
Query Couchbase with SQL++